forked from pool/python-QtAwesome
Accepting request 630424 from home:StefanBruens:branches:openSUSE:Factory
- Fix Requires:, refer to python2 packages from python2 package - Remove erroneously distributed __pycache__ file from sources - Spec cleanup: * drop %defattr * use %license for LICENSE OBS-URL: https://build.opensuse.org/request/show/630424 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtAwesome?expand=0&rev=4
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user