diff --git a/python-QtAwesome.changes b/python-QtAwesome.changes index 65f3b71..7b348a0 100644 --- a/python-QtAwesome.changes +++ b/python-QtAwesome.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Aug 19 21:24:25 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Fix Requires:, refer to python2 packages from python2 package +- Remove erroneously distributed __pycache__ file from sources +- Spec cleanup: + * drop %defattr + * use %license for LICENSE + ------------------------------------------------------------------- Fri Jul 21 13:04:30 UTC 2017 - sebix+novell.com@sebix.at diff --git a/python-QtAwesome.spec b/python-QtAwesome.spec index f0044e6..6fce931 100644 --- a/python-QtAwesome.spec +++ b/python-QtAwesome.spec @@ -32,8 +32,13 @@ BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-2to3 +%ifpython2 +Requires: python2-QtPy +Requires: python2-six +%else Requires: python3-QtPy Requires: python3-six +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -47,6 +52,8 @@ library by Rick Blommers. %prep %setup -q -n QtAwesome-%{version} +# remove erroneously packaged file +rm -R qtawesome/tests/__pycache__ %build %python_build @@ -56,8 +63,7 @@ library by Rick Blommers. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE +%license LICENSE %{python_sitelib}/* %changelog