diff --git a/python-PyRIC.changes b/python-PyRIC.changes index 8bfb848..192ee88 100644 --- a/python-PyRIC.changes +++ b/python-PyRIC.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 3 15:38:23 UTC 2018 - alarrosa@suse.com + +- Run spec_cleaner + ------------------------------------------------------------------- Thu May 3 09:39:31 UTC 2018 - alarrosa@suse.com diff --git a/python-PyRIC.spec b/python-PyRIC.spec index 037c262..3631071 100644 --- a/python-PyRIC.spec +++ b/python-PyRIC.spec @@ -23,14 +23,13 @@ Release: 0 Summary: Python Wireless Library License: GPL-3.0-only Group: Development/Languages/Python -Url: http://wraith-wireless.github.io/PyRIC/ +URL: http://wraith-wireless.github.io/PyRIC/ Source: https://files.pythonhosted.org/packages/source/P/PyRIC/PyRIC-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -40,7 +39,7 @@ programmatically in Python. %prep %setup -q -n PyRIC-%{version} -find . -exec grep "^\#\!/usr/bin/env python" "{}" \; -print -exec sed -i -e '1{\,^#!/usr/bin/env python,d}' "{}" \; +find . -exec grep "^\#\!%{_bindir}/env python" "{}" \; -print -exec sed -i -e '1{\,^#!%{_bindir}/env python,d}' "{}" \; %build %python_build @@ -50,7 +49,6 @@ find . -exec grep "^\#\!/usr/bin/env python" "{}" \; -print -exec sed -i -e '1{\ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) %doc CHANGES README.md %license LICENSE %{python_sitelib}/*