forked from pool/python-decorator
Accepting request 122328 from devel:languages:python3
- Fix building on openSUSE 11.4 - spec file cleanups (forwarded request 122327 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/122328 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 25 08:33:12 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
- Fix building on openSUSE 11.4
|
||||
- spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 07:56:47 UTC 2012 - highwaystar.ru@gmail.com
|
||||
|
||||
|
||||
@@ -65,12 +65,17 @@ python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%if 0%{?suse_version} > 1210
|
||||
rm -r %{buildroot}%{python3_sitelib}/__pycache__/
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.txt
|
||||
%{python3_sitelib}/decorator.py
|
||||
%{python3_sitelib}/decorator.pyc
|
||||
%{python3_sitelib}/decorator.py*
|
||||
%{python3_sitelib}/decorator-%{version}-py%{py3_ver}.egg-info
|
||||
%if 0%{?suse_version} <= 1140
|
||||
%dir %{_prefix}/lib/python%{py3_ver}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user