diff --git a/python-astor.changes b/python-astor.changes index 67df00c..6edd1f9 100644 --- a/python-astor.changes +++ b/python-astor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 9 10:27:55 UTC 2018 - cgoll@suse.com + +- fixed rpmlint warnings + ------------------------------------------------------------------- Thu Nov 8 14:04:28 UTC 2018 - cgoll@suse.com diff --git a/python-astor.spec b/python-astor.spec index cfcd324..68cbe67 100644 --- a/python-astor.spec +++ b/python-astor.spec @@ -58,12 +58,16 @@ There are some other similar libraries, but astor focuses on the following areas %prep %setup -q -n astor-%{version} +# ugly fix for the use of /usr/bin/env +sed -i 's@env @@' astor/rtrip.py %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +# fix executeable bits +%python_expand chmod 755 %{buildroot}%{$python_sitelib}/astor/rtrip.py %files %{python_files} %doc AUTHORS README.rst %license LICENSE