Hello community, here is the log from the commit of package iotop for openSUSE:Factory checked in at 2015-03-18 13:07:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iotop (Old) and /work/SRC/openSUSE:Factory/.iotop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iotop" Changes: -------- --- /work/SRC/openSUSE:Factory/iotop/iotop.changes 2013-06-28 11:50:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.iotop.new/iotop.changes 2015-03-18 13:07:45.000000000 +0100 @@ -1,0 +2,9 @@ +Mon Mar 16 20:44:16 UTC 2015 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner +- Remove no longer needed iotop-rpmlintrc +- Build cleanup +- Add gpg signature +- Use fdupes to remove duplicates + +------------------------------------------------------------------- Old: ---- iotop-rpmlintrc New: ---- iotop-0.6.tar.bz2.asc iotop.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iotop.spec ++++++ --- /var/tmp/diff_new_pack.OicVSm/_old 2015-03-18 13:07:46.000000000 +0100 +++ /var/tmp/diff_new_pack.OicVSm/_new 2015-03-18 13:07:46.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package iotop # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,25 @@ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} - +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: iotop Version: 0.6 Release: 0 Summary: Top Like UI to Show Per-Process I/O Going on License: GPL-2.0 Group: System/Monitoring -Source: http://guichaz.free.fr/iotop/files/iotop-%{version}.tar.bz2 -Source1: %{name}-rpmlintrc Url: http://guichaz.free.fr/iotop/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: http://guichaz.free.fr/iotop/files/iotop-%{version}.tar.bz2 +Source1: http://guichaz.free.fr/iotop/files/iotop-%{version}.tar.bz2.asc +Source2: %{name}.keyring +BuildRequires: fdupes BuildRequires: python-devel >= 2.7 Requires: python-curses +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%py_requires %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif -%py_requires %description Linux has always been able to show how much I/O was going on (the bi @@ -46,27 +47,17 @@ %setup -q %build -%__python setup.py build +python setup.py build %install -# Copied from: http://trac.edgewall.org/ticket/1141 -# this file is *inserted* into the install section of the generated -# spec file -# this is, what dist.py normally does -%__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record="INSTALLED_FILES" -# catch compressed man pages -%__sed -i -e 's@\(.\+/man/man[[:digit:]]/.\+\.[[:digit:]]\)$@\1*@' "INSTALLED_FILES" -# catch any compiled python files (.pyc, .pyo), but don't list them twice -%__sed -i -e 's@\(.\+\)\.py$@\1.py*@' \ - -e '/.\+\.pyc$/d' \ - "INSTALLED_FILES" -echo "%dir %{python_sitelib}/iotop" >> INSTALLED_FILES - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot} +%fdupes -s %{buildroot} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) %doc COPYING NEWS THANKS +%{_sbindir}/iotop +%{_mandir}/man8/iotop.8.gz +%{python_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org