15
0

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:
Todd R
2012-05-25 10:05:40 +00:00
committed by Git OBS Bridge
parent 4b34c160cb
commit 6ea76c1b0a
2 changed files with 13 additions and 2 deletions

View File

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

View File

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