Hello community, here is the log from the commit of package cpuset for openSUSE:Factory checked in at 2016-01-15 10:41:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cpuset (Old) and /work/SRC/openSUSE:Factory/.cpuset.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cpuset" Changes: -------- --- /work/SRC/openSUSE:Factory/cpuset/cpuset.changes 2016-01-01 19:51:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cpuset.new/cpuset.changes 2016-01-15 10:41:59.000000000 +0100 @@ -1,0 +2,21 @@ +Wed Jan 13 18:39:38 UTC 2016 - idonmez@suse.com + +- Cleanup spec file +- Use source url + +------------------------------------------------------------------- +Wed Jan 13 08:32:13 UTC 2016 - lpechacek@suse.com + +- Update to ae629aa1dc95, release 1.5.7 +- Deleted patches: + Docu-fix-asciidoc-build-error.patch + Docu-fixed-a-typo.patch + Docu-remove-mention-about-nonexistent-option.patch + Fix-crash-with-SCHED_IDLE-policy.patch + Fix-typo-in-setup-py.patch + Handle-unknown-scheduler-policy-codes-gracefully.patch + Parse-proc-pid-stat-properly.patch + Update-URLs-after-project-migration.patch + cset-make-it-handle-cgroup-mounts.patch + +------------------------------------------------------------------- Old: ---- Docu-fix-asciidoc-build-error.patch Docu-fixed-a-typo.patch Docu-remove-mention-about-nonexistent-option.patch Fix-crash-with-SCHED_IDLE-policy.patch Fix-typo-in-setup-py.patch Handle-unknown-scheduler-policy-codes-gracefully.patch Parse-proc-pid-stat-properly.patch Update-URLs-after-project-migration.patch cpuset-1.5.6.tar.gz cset-make-it-handle-cgroup-mounts.patch New: ---- v1.5.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpuset.spec ++++++ --- /var/tmp/diff_new_pack.csMmlA/_old 2016-01-15 10:42:00.000000000 +0100 +++ /var/tmp/diff_new_pack.csMmlA/_new 2016-01-15 10:42:00.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cpuset # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2008-2011 Novell, Inc. Waltham, MA, USA # # All modifications and additions to the file contributed by third parties @@ -17,32 +17,24 @@ # +%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: cpuset -Version: 1.5.6 +Version: 1.5.7 Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: https://github.com/lpechacek/cpuset Summary: Allows manipulation of cpusets on system and provides higher level functions License: GPL-2.0 Group: System/Management -Source: %{name}-%{version}.tar.gz -Patch0: cset-make-it-handle-cgroup-mounts.patch -Patch1: Fix-crash-with-SCHED_IDLE-policy.patch -Patch2: Handle-unknown-scheduler-policy-codes-gracefully.patch -Patch3: Parse-proc-pid-stat-properly.patch -Patch4: Docu-remove-mention-about-nonexistent-option.patch -Patch5: Docu-fix-asciidoc-build-error.patch -Patch6: Update-URLs-after-project-migration.patch -Patch7: Docu-fixed-a-typo.patch -Patch8: Fix-typo-in-setup-py.patch +Url: https://github.com/lpechacek/cpuset +Source: https://github.com/lpechacek/cpuset/archive/v%{version}.tar.gz BuildRequires: python-devel - +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?sles_version} != 11 +BuildArch: noarch +%endif %if 0%{?suse_version} > 0 %py_requires %endif -%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - %description Cpuset is a Python application to make using the cpusets facilities in @@ -52,46 +44,30 @@ shielding setup. %prep -%setup -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 +%setup -q %build CFLAGS="%{optflags}" \ -%{__python} setup.py build +python setup.py build #make doc ->not yet, asciidoc is missing... %install # Install binaries, but do not install docs via setup.py -%{__python} setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-data=/eraseme -%{__rm} -rf %{buildroot}/eraseme +python setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-data=/eraseme +rm -rf %{buildroot}/eraseme # Install documentation -%{__mkdir_p} %{buildroot}/%{_defaultdocdir}/cpuset -%{__cp} NEWS README INSTALL AUTHORS COPYING cset.init.d %{buildroot}/%{_defaultdocdir}/cpuset/ -%{__mkdir_p} %{buildroot}/%{_mandir}/man1 -cd doc -%{__gzip} *.1 -%{__cp} *.1.gz %{buildroot}/%{_mandir}/man1 -%{__cp} *.txt %{buildroot}/%{_defaultdocdir}/cpuset/ -%{__mkdir} %{buildroot}/%{_defaultdocdir}/cpuset/html -%{__cp} *.html %{buildroot}/%{_defaultdocdir}/cpuset/html/ +mkdir -p %{buildroot}/%{_mandir}/man1 +mkdir -p %{buildroot}/%{_defaultdocdir}/cpuset/html -%clean -%{__rm} -rf %{buildroot} +cp doc/*.1 %{buildroot}/%{_mandir}/man1 +cp doc/*.html %{buildroot}/%{_defaultdocdir}/cpuset/html/ %files %defattr(-,root,root) +%doc NEWS README AUTHORS COPYING cset.init.d doc/*.txt %{_bindir}/cset %{python_sitelib}/* %{_mandir}/man1/* -%{_defaultdocdir}/* %changelog