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
This commit is contained in:
Petr Cervinka 2018-11-09 11:51:28 +00:00 committed by Git OBS Bridge
parent 3101ac2d60
commit f5e8ae4b21
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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