diff --git a/python3-decorator.changes b/python3-decorator.changes index 4b5f782..a4e9612 100644 --- a/python3-decorator.changes +++ b/python3-decorator.changes @@ -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 diff --git a/python3-decorator.spec b/python3-decorator.spec index f64d818..6c019ec 100644 --- a/python3-decorator.spec +++ b/python3-decorator.spec @@ -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