The package rpms/intel-cmt-cat.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/intel-cmt-cat.git/commit/?id=7c96....
Change:
+ExclusiveArch: x86_64 i686 i586
Thanks.
Full change:
============
commit 3933c888759bb965db7908bb6af7a2ae590d483d
Merge: af7c01e 5bfc6d8
Author: Marcel Cornu <marcel.d.cornu(a)intel.com>
Date: Wed Aug 9 13:49:16 2017 +0100
New release 1.1.0
commit 5bfc6d8d8d05cac948e3666e88e4e9e575045506
Author: Marcel Cornu <marcel.d.cornu(a)intel.com>
Date: Fri Aug 4 17:10:15 2017 +0100
New release 1.1.0
diff --git a/.gitignore b/.gitignore
index ff1002c..aea6296 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/v0.1.5-1.tar.gz
/v1.0.0.tar.gz
/v1.0.1.tar.gz
+/v1.1.0.tar.gz
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index 4dca17a..68bdefd 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -24,20 +24,21 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%global githubname intel-cmt-cat
-%global githubver 1.0.1
+%global githubver 1.1.0
%if %{defined githubsubver}
%global githubfull %{githubname}-%{githubver}.%{githubsubver}
%else
%global githubfull %{githubname}-%{githubver}
%endif
+
# disable producing debuginfo for this package
%global debug_package %{nil}
Summary: Provides command line interface to CMT, MBM, CAT, CDP and MBA
technologies
Name: %{githubname}
-Release: 3%{?dist}
+Release: 1%{?dist}
Version: %{githubver}
License: BSD
Group: Development/Tools
@@ -115,9 +116,9 @@ install -m 0644 %{_builddir}/%{githubfull}/LICENSE
%{buildroot}/%{_licensedir}/%
# Install the library
install -d %{buildroot}/%{_libdir}
-install -s %{_builddir}/%{githubfull}/lib/libpqos-*.so %{buildroot}/%{_libdir}
+install -s %{_builddir}/%{githubfull}/lib/libpqos.so.* %{buildroot}/%{_libdir}
cp -a %{_builddir}/%{githubfull}/lib/libpqos.so %{buildroot}/%{_libdir}
-cp -a %{_builddir}/%{githubfull}/lib/libpqos.so.0 %{buildroot}/%{_libdir}
+cp -a %{_builddir}/%{githubfull}/lib/libpqos.so.1 %{buildroot}/%{_libdir}
# Install the header file
install -d %{buildroot}/%{_includedir}
@@ -148,7 +149,7 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%{_mandir}/man8/pqos-msr.8.gz
%{_bindir}/rdtset
%{_mandir}/man8/rdtset.8.gz
-%{_libdir}/libpqos-*.so
+%{_libdir}/libpqos.so.*
%{!?_licensedir:%global license %%doc}
%license %{_licensedir}/%{name}-%{version}/LICENSE
@@ -156,7 +157,7 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%files -n intel-cmt-cat-devel
%{_libdir}/libpqos.so
-%{_libdir}/libpqos.so.0
+%{_libdir}/libpqos.so.1
%{_includedir}/pqos.h
%{_usrsrc}/%{githubfull}/c/CAT/Makefile
%{_usrsrc}/%{githubfull}/c/CAT/reset_app.c
@@ -167,6 +168,9 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%doc %{_usrsrc}/%{githubfull}/LICENSE
%changelog
+* Thu Aug 3 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Marcel Cornu
<marcel.d.cornu(a)intel.com> 1.1.0-1
+- New release 1.1.0
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
@@ -198,5 +202,3 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
* Thu Apr 7 2016 Tomasz Kantecki <tomasz.kantecki(a)intel.com> 0.1.4-1
- initial version of the package
-
-
diff --git a/sources b/sources
index 361dfcb..8b6f254 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v1.0.1.tar.gz) =
65bb15d704d518dcc92e7d192e6bb7cdd2f84589f702b2f7157f19c2df8ceee8ab55aacd63f05fc1dd52eece17b1a654c787df6974516709e6a74aaf93149383
+SHA512 (v1.1.0.tar.gz) =
28d235976e8a817d07f545696993e982be0f1d025d282122015b3f66f646ba0bceb8fef75b0d651a192c97b2dd11034fca2727586011ccdcce9946054165abae
commit 0e50a45be386e4f604a7982c2ca0d4a94e1a4b9b
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Aug 2 23:48:46 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index cdd3635..4dca17a 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -37,7 +37,7 @@
Summary: Provides command line interface to CMT, MBM, CAT, CDP and MBA
technologies
Name: %{githubname}
-Release: 2%{?dist}
+Release: 3%{?dist}
Version: %{githubver}
License: BSD
Group: Development/Tools
@@ -167,6 +167,9 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%doc %{_usrsrc}/%{githubfull}/LICENSE
%changelog
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit db328dab64cb14ca21e06e1afc4689f23e643f52
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jul 26 13:36:00 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index 486ed1b..cdd3635 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -37,7 +37,7 @@
Summary: Provides command line interface to CMT, MBM, CAT, CDP and MBA
technologies
Name: %{githubname}
-Release: 1%{?dist}
+Release: 2%{?dist}
Version: %{githubver}
License: BSD
Group: Development/Tools
@@ -167,6 +167,9 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%doc %{_usrsrc}/%{githubfull}/LICENSE
%changelog
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.1-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Wed Jun 21 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Marcel Cornu
<marcel.d.cornu(a)intel.com> 1.0.1-1
- Spec file bug fixes
commit ca0d2092fd95b1795fa506129d5425ffb170ef2f
Author: Aaron Hetherington <aaron.hetherington(a)intel.com>
Date: Mon Jun 26 14:13:25 2017 +0100
Spec file bug fixes
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index dcc9f4e..486ed1b 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -31,7 +31,6 @@
%else
%global githubfull %{githubname}-%{githubver}
%endif
-
# disable producing debuginfo for this package
%global debug_package %{nil}
commit 23fec502a5328aa1fbe6bedb3e25473bd498a0dc
Author: Aaron Hetherington <aaron.hetherington(a)intel.com>
Date: Fri Jun 23 15:55:03 2017 +0100
Spec file bug fixes
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index 16ad96e..dcc9f4e 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -86,6 +86,8 @@
https://github.com/01org/%{githubname}
%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%build
make %{?_smp_mflags}
@@ -93,15 +95,18 @@ make %{?_smp_mflags}
# Not doing make install as it strips the symbols.
# Using files from the build directory.
install -d %{buildroot}/%{_bindir}
-install %{_builddir}/%{githubfull}/pqos/pqos %{buildroot}/%{_bindir}
+install -s %{_builddir}/%{githubfull}/pqos/pqos %{buildroot}/%{_bindir}
install %{_builddir}/%{githubfull}/pqos/pqos-os %{buildroot}/%{_bindir}
install %{_builddir}/%{githubfull}/pqos/pqos-msr %{buildroot}/%{_bindir}
+sed -i "1s/.*/\#!\/usr\/bin\/bash/" %{buildroot}/%{_bindir}/pqos-*
install -d %{buildroot}/%{_mandir}/man8
install -m 0644 %{_builddir}/%{githubfull}/pqos/pqos.8 %{buildroot}/%{_mandir}/man8
+ln -sf %{_mandir}/man8/pqos.8 %{buildroot}/%{_mandir}/man8/pqos-os.8
+ln -sf %{_mandir}/man8/pqos.8 %{buildroot}/%{_mandir}/man8/pqos-msr.8
install -d %{buildroot}/%{_bindir}
-install %{_builddir}/%{githubfull}/rdtset/rdtset %{buildroot}/%{_bindir}
+install -s %{_builddir}/%{githubfull}/rdtset/rdtset %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man8
install -m 0644 %{_builddir}/%{githubfull}/rdtset/rdtset.8 %{buildroot}/%{_mandir}/man8
@@ -111,7 +116,7 @@ install -m 0644 %{_builddir}/%{githubfull}/LICENSE
%{buildroot}/%{_licensedir}/%
# Install the library
install -d %{buildroot}/%{_libdir}
-install %{_builddir}/%{githubfull}/lib/libpqos-*.so %{buildroot}/%{_libdir}
+install -s %{_builddir}/%{githubfull}/lib/libpqos-*.so %{buildroot}/%{_libdir}
cp -a %{_builddir}/%{githubfull}/lib/libpqos.so %{buildroot}/%{_libdir}
cp -a %{_builddir}/%{githubfull}/lib/libpqos.so.0 %{buildroot}/%{_libdir}
@@ -140,6 +145,8 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%{_bindir}/pqos-os
%{_bindir}/pqos-msr
%{_mandir}/man8/pqos.8.gz
+%{_mandir}/man8/pqos-os.8.gz
+%{_mandir}/man8/pqos-msr.8.gz
%{_bindir}/rdtset
%{_mandir}/man8/rdtset.8.gz
%{_libdir}/libpqos-*.so
@@ -161,6 +168,9 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%doc %{_usrsrc}/%{githubfull}/LICENSE
%changelog
+* Wed Jun 21 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Marcel Cornu
<marcel.d.cornu(a)intel.com> 1.0.1-1
+- Spec file bug fixes
+
* Wed Jun 07 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Marcel Cornu
<marcel.d.cornu(a)intel.com> 1.0.1-1
- new release
- bug fixes
@@ -184,3 +194,4 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
* Thu Apr 7 2016 Tomasz Kantecki <tomasz.kantecki(a)intel.com> 0.1.4-1
- initial version of the package
+
commit f64ca79b1cb1daea1c185db264f7ee09c552a526
Author: Marcel Cornu <marcel.d.cornu(a)intel.com>
Date: Fri Jun 9 12:53:30 2017 +0100
new release
bug fixes
diff --git a/.gitignore b/.gitignore
index 435ca78..ff1002c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/v0.1.5.tar.gz
/v0.1.5-1.tar.gz
/v1.0.0.tar.gz
+/v1.0.1.tar.gz
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index ee281b4..16ad96e 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -1,8 +1,8 @@
# Copyright (c) 2016-2017, Intel Corporation
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
-#
+#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
@@ -11,7 +11,7 @@
# * Neither the name of Intel Corporation nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%global githubname intel-cmt-cat
-%global githubver 1.0.0
+%global githubver 1.0.1
%if %{defined githubsubver}
%global githubfull %{githubname}-%{githubver}.%{githubsubver}
@@ -36,7 +36,7 @@
%global debug_package %{nil}
-Summary: Provides command line interface to CMT, MBM, CAT and CDP
technologies
+Summary: Provides command line interface to CMT, MBM, CAT, CDP and MBA
technologies
Name: %{githubname}
Release: 1%{?dist}
Version: %{githubver}
@@ -53,7 +53,8 @@ URL:
https://github.com/01org/%{githubname}
%description
This software package provides basic support for
Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM),
-Cache Allocation Technology (CAT) and Code Data Prioratization (CDP).
+Cache Allocation Technology (CAT), Memory Bandwidth Allocation (MBA),
+and Code Data Prioratization (CDP).
CMT, MBM and CAT are configured using Model Specific Registers (MSRs)
to measure last level cache occupancy, set up the class of service masks and
@@ -64,7 +65,7 @@ provides an interface to read and write the MSR registers but
it requires root privileges.
%package -n intel-cmt-cat-devel
-Summary: Library and sample code to use CMT, MBM, CAT and CDP technologies
+Summary: Library and sample code to use CMT, MBM, CAT, CDP and MBA
technologies
License: BSD
Requires: intel-cmt-cat == %{version}
Group: Development/Tools
@@ -72,8 +73,9 @@ ExclusiveArch: x86_64 i686 i586
%description -n intel-cmt-cat-devel
This software package provides basic support for
-Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM)
-and Cache Allocation Technology (CAT) and Code Data Prioratization (CDP).
+Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM),
+Cache Allocation Technology (CAT), Memory Bandwidth Allocation (MBA),
+and Code Data Prioratization (CDP).
The package includes library, header file and sample code.
For additional information please refer to:
@@ -107,7 +109,6 @@ install -m 0644 %{_builddir}/%{githubfull}/rdtset/rdtset.8
%{buildroot}/%{_mand
install -d %{buildroot}/%{_licensedir}/%{name}-%{version}
install -m 0644 %{_builddir}/%{githubfull}/LICENSE
%{buildroot}/%{_licensedir}/%{name}-%{version}
-
# Install the library
install -d %{buildroot}/%{_libdir}
install %{_builddir}/%{githubfull}/lib/libpqos-*.so %{buildroot}/%{_libdir}
@@ -160,6 +161,10 @@ install -m 0644
%{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c %{bu
%doc %{_usrsrc}/%{githubfull}/LICENSE
%changelog
+* Wed Jun 07 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Marcel Cornu
<marcel.d.cornu(a)intel.com> 1.0.1-1
+- new release
+- bug fixes
+
* Fri May 19 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Michal
Aleksinski <michalx.aleksinski(a)intel.com> 1.0.0-1
- new release
diff --git a/sources b/sources
index 2dee416..361dfcb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v1.0.0.tar.gz) =
8a5ca62d085261d1644d480d41f2f38059edb8b2a28661f58cc2038bc7c9ea4ead61eaca8c1cfd13a3d0a680609f2096e6bd59517e88f656413ab6577a896021
+SHA512 (v1.0.1.tar.gz) =
65bb15d704d518dcc92e7d192e6bb7cdd2f84589f702b2f7157f19c2df8ceee8ab55aacd63f05fc1dd52eece17b1a654c787df6974516709e6a74aaf93149383
commit 7c96aa1cf489d06e30b72a17bf3a8ae5baf2019b
Author: Marcel Cornu <marcel.d.cornu(a)intel.com>
Date: Mon May 22 16:50:54 2017 +0100
new release
diff --git a/.gitignore b/.gitignore
index 4fea161..435ca78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/v0.1.4.tar.gz
/v0.1.5.tar.gz
/v0.1.5-1.tar.gz
+/v1.0.0.tar.gz
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index 2e1a3b5..ee281b4 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -1,4 +1,4 @@
-# Copyright (c) 2016, Intel Corporation
+# Copyright (c) 2016-2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -23,39 +23,28 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-%global ver014 0.1.4
-%global ver015 0.1.5
-%global ver0151 0.1.5
-%global githubname intel-cmt-cat
-%global githubver %{ver0151}
+%global githubname intel-cmt-cat
+%global githubver 1.0.0
-%if "%{githubver}" == "%{ver0151}"
-%global githubfull %{githubname}-%{githubver}-1
+%if %{defined githubsubver}
+%global githubfull %{githubname}-%{githubver}.%{githubsubver}
%else
-%global githubfull %{githubname}-%{githubver}
+%global githubfull %{githubname}-%{githubver}
%endif
-%global pkgname intel-cmt-cat
-%if 0%{!?_licensedir}
-%global _licensedir %{_docdir}
-%endif
+# disable producing debuginfo for this package
+%global debug_package %{nil}
-Summary: Provides command line interface to CMT, MBM, CAT and CDP
technologies
-Name: %{pkgname}
-Version: %{githubver}
-%if "%{githubver}" == "%{ver015}"
+Summary: Provides command line interface to CMT, MBM, CAT and CDP
technologies
+Name: %{githubname}
Release: 1%{?dist}
-%endif
-%if "%{githubver}" == "%{ver014}"
-Release: 3%{?dist}
-%endif
-
+Version: %{githubver}
License: BSD
Group: Development/Tools
ExclusiveArch: x86_64 i686 i586
-%if "%{githubver}" == "%{ver0151}"
-Source0:
https://github.com/01org/%{githubname}/archive/v%{githubver}-1.tar.gz
+%if %{defined githubsubver}
+Source0:
https://github.com/01org/%{githubname}/archive/v%{githubver}.%{githubsubv...
%else
Source0:
https://github.com/01org/%{githubname}/archive/v%{githubver}.tar.gz
%endif
@@ -74,13 +63,26 @@ obtained through a standard Linux* interface. The virtual file system
provides an interface to read and write the MSR registers but
it requires root privileges.
-%prep
+%package -n intel-cmt-cat-devel
+Summary: Library and sample code to use CMT, MBM, CAT and CDP technologies
+License: BSD
+Requires: intel-cmt-cat == %{version}
+Group: Development/Tools
+ExclusiveArch: x86_64 i686 i586
+
+%description -n intel-cmt-cat-devel
+This software package provides basic support for
+Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM)
+and Cache Allocation Technology (CAT) and Code Data Prioratization (CDP).
+The package includes library, header file and sample code.
+For additional information please refer to:
+https://github.com/01org/%{githubname}
+
+%prep
%autosetup -n %{githubfull}
-%if "%{githubver}" == "%{ver015}"
%post -p /sbin/ldconfig
-%endif
%build
make %{?_smp_mflags}
@@ -88,9 +90,10 @@ make %{?_smp_mflags}
%install
# Not doing make install as it strips the symbols.
# Using files from the build directory.
-%if "%{githubver}" == "%{ver015}" || "%{githubver}" ==
"%{ver0151}"
install -d %{buildroot}/%{_bindir}
install %{_builddir}/%{githubfull}/pqos/pqos %{buildroot}/%{_bindir}
+install %{_builddir}/%{githubfull}/pqos/pqos-os %{buildroot}/%{_bindir}
+install %{_builddir}/%{githubfull}/pqos/pqos-msr %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man8
install -m 0644 %{_builddir}/%{githubfull}/pqos/pqos.8 %{buildroot}/%{_mandir}/man8
@@ -104,44 +107,62 @@ install -m 0644 %{_builddir}/%{githubfull}/rdtset/rdtset.8
%{buildroot}/%{_mand
install -d %{buildroot}/%{_licensedir}/%{name}-%{version}
install -m 0644 %{_builddir}/%{githubfull}/LICENSE
%{buildroot}/%{_licensedir}/%{name}-%{version}
+
+# Install the library
install -d %{buildroot}/%{_libdir}
-%if "%{githubver}" == "%{ver0151}"
-install %{_builddir}/%{githubfull}/lib/libpqos-0.1.6.so %{buildroot}/%{_libdir}
-%else
-install %{_builddir}/%{githubfull}/lib/libpqos-0.1.5.so %{buildroot}/%{_libdir}
-%endif
-%endif
+install %{_builddir}/%{githubfull}/lib/libpqos-*.so %{buildroot}/%{_libdir}
+cp -a %{_builddir}/%{githubfull}/lib/libpqos.so %{buildroot}/%{_libdir}
+cp -a %{_builddir}/%{githubfull}/lib/libpqos.so.0 %{buildroot}/%{_libdir}
-%if "%{githubver}" == "%{ver014}"
-install -d %{buildroot}/%{_bindir}
-install %{_builddir}/%{githubfull}/pqos %{buildroot}/%{_bindir}
+# Install the header file
+install -d %{buildroot}/%{_includedir}
+install -m 0644 %{_builddir}/%{githubfull}/lib/pqos.h %{buildroot}/%{_includedir}
-install -d %{buildroot}/%{_mandir}/man8
-install -m 0644 %{_builddir}/%{githubfull}/pqos.8 %{buildroot}/%{_mandir}/man8
+# Install license and sample code
+install -d %{buildroot}/%{_usrsrc}/%{githubfull}
+install -m 0644 %{_builddir}/%{githubfull}/LICENSE %{buildroot}/%{_usrsrc}/%{githubfull}
-install -d %{buildroot}/%{_licensedir}/%{name}-%{version}
-install -m 0644 %{_builddir}/%{githubfull}/LICENSE
%{buildroot}/%{_licensedir}/%{name}-%{version}
-%endif
+install -d %{buildroot}/%{_usrsrc}/%{githubfull}/c
+
+install -d %{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT
+install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT/Makefile
%{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT
+install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT/reset_app.c
%{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT
+install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT/allocation_app.c
%{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT
+install -m 0644 %{_builddir}/%{githubfull}/examples/c/CAT/association_app.c
%{buildroot}/%{_usrsrc}/%{githubfull}/c/CAT
+
+install -d %{buildroot}/%{_usrsrc}/%{githubfull}/c/CMT_MBM
+install -m 0644 %{_builddir}/%{githubfull}/examples/c/CMT_MBM/Makefile
%{buildroot}/%{_usrsrc}/%{githubfull}/c/CMT_MBM
+install -m 0644 %{_builddir}/%{githubfull}/examples/c/CMT_MBM/monitor_app.c
%{buildroot}/%{_usrsrc}/%{githubfull}/c/CMT_MBM
%files
%{_bindir}/pqos
+%{_bindir}/pqos-os
+%{_bindir}/pqos-msr
%{_mandir}/man8/pqos.8.gz
-
-%if "%{githubver}" == "%{ver015}" || "%{githubver}" ==
"%{ver0151}"
%{_bindir}/rdtset
%{_mandir}/man8/rdtset.8.gz
-%if "%{githubver}" == "%{ver0151}"
-%{_libdir}/libpqos-0.1.6.so
-%else
-%{_libdir}/libpqos-0.1.5.so
-%endif
-%endif
+%{_libdir}/libpqos-*.so
%{!?_licensedir:%global license %%doc}
%license %{_licensedir}/%{name}-%{version}/LICENSE
%doc ChangeLog README
+%files -n intel-cmt-cat-devel
+%{_libdir}/libpqos.so
+%{_libdir}/libpqos.so.0
+%{_includedir}/pqos.h
+%{_usrsrc}/%{githubfull}/c/CAT/Makefile
+%{_usrsrc}/%{githubfull}/c/CAT/reset_app.c
+%{_usrsrc}/%{githubfull}/c/CAT/association_app.c
+%{_usrsrc}/%{githubfull}/c/CAT/allocation_app.c
+%{_usrsrc}/%{githubfull}/c/CMT_MBM/Makefile
+%{_usrsrc}/%{githubfull}/c/CMT_MBM/monitor_app.c
+%doc %{_usrsrc}/%{githubfull}/LICENSE
+
%changelog
+* Fri May 19 2017 Aaron Hetherington <aaron.hetherington(a)intel.com>, Michal
Aleksinski <michalx.aleksinski(a)intel.com> 1.0.0-1
+- new release
+
* Tue Feb 14 2017 Aaron Hetherington <aaron.hetherington(a)intel.com> 0.1.5-1
- new release
diff --git a/sources b/sources
index 2087110..2dee416 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
-SHA512 (v0.1.4.tar.gz) =
feae676619972b69039e9e0718a15630c6f11437e6012be44d4025ba1af596051341ac5adc7c253cd0a54bef38f5703fc6064618734a4af81130e19db934ab87
-SHA512 (v0.1.5.tar.gz) =
0c4c4f5ce05a2147204e8b5924343d135105e59fdbbafc115c75b03e31c809481966f2fc2b5edac2739979db8e8f34916bbe6690345a87bebc42a7fa3485bcf4
-SHA512 (v0.1.5-1.tar.gz) =
506a3b49ad570738be08ab058902f28a544ed108ac3c4280a4c144b31ecc8a5a083375d03e0a82af1c020b6ff4b6f4e7c517123509121423d80b3a509c258132
+SHA512 (v1.0.0.tar.gz) =
8a5ca62d085261d1644d480d41f2f38059edb8b2a28661f58cc2038bc7c9ea4ead61eaca8c1cfd13a3d0a680609f2096e6bd59517e88f656413ab6577a896021