From f5e8ae4b2126e3bd8cd017d13c54ccbad1c1b2b9d805fec8404b2b4e4b042654 Mon Sep 17 00:00:00 2001 From: Petr Cervinka Date: Fri, 9 Nov 2018 11:51:28 +0000 Subject: [PATCH] Accepting request 647558 from home:mslacken:ml - fixed rpmlint warnings OBS-URL: https://build.opensuse.org/request/show/647558 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=2 --- python-astor.changes | 5 +++++ python-astor.spec | 4 ++++ 2 files changed, 9 insertions(+) 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