Hello community, here is the log from the commit of package speedtest-cli for openSUSE:Factory checked in at 2015-08-11 08:26:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/speedtest-cli (Old) and /work/SRC/openSUSE:Factory/.speedtest-cli.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "speedtest-cli" Changes: -------- --- /work/SRC/openSUSE:Factory/speedtest-cli/speedtest-cli.changes 2015-07-05 18:02:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.speedtest-cli.new/speedtest-cli.changes 2015-08-11 08:26:56.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Aug 8 12:58:09 UTC 2015 - [email protected] + +- Follow python packaging guidelines +- Use setuptools for installation + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ speedtest-cli.spec ++++++ --- /var/tmp/diff_new_pack.lodkUa/_old 2015-08-11 08:26:56.000000000 +0200 +++ /var/tmp/diff_new_pack.lodkUa/_new 2015-08-11 08:26:56.000000000 +0200 @@ -17,7 +17,6 @@ %define oname speedtest_cli - Name: speedtest-cli Version: 0.3.2 Release: 0 @@ -26,8 +25,10 @@ Group: System/Benchmark Url: https://github.com/sivel/speedtest-cli Source0: https://github.com/sivel/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Requires: python +BuildRequires: python-devel +BuildRequires: python-setuptools BuildArch: noarch +%py_requires %description Command line interface for testing internet bandwidth using @@ -37,18 +38,22 @@ %setup -q %build +python setup.py build %install -# install executable -install -Dm 0755 %{oname}.py %{buildroot}%{_bindir}/%{name} - -# install man -install -Dm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +install -D -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +ln -s %{_mandir}/man1/%{name}.1 %{buildroot}%{_mandir}/man1/speedtest.1 %files %defattr(-,root,root,-) %doc LICENSE README.rst -%{_mandir}/man1/%{name}.1%{ext_man} +%{_bindir}/speedtest %{_bindir}/%{name} +%{_mandir}/man1/speedtest.1%{ext_man} +%{_mandir}/man1/%{name}.1%{ext_man} +%{python_sitelib}/%{oname}.py +%{python_sitelib}/%{oname}.pyc +%{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info %changelog
