rpm-macros subpkg
This commit is contained in:
parent
1a317b5403
commit
1db5bb4f22
@ -19,7 +19,7 @@
|
||||
Summary: PyQt5 is Python bindings for Qt5
|
||||
Name: python-qt5
|
||||
Version: 5.5.1
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
|
||||
# all BSD, except for GPLv2+ dbus bindings and examples
|
||||
License: BSD and GPLv2+
|
||||
@ -75,6 +75,7 @@ BuildRequires: python3-dbus
|
||||
Obsoletes: python-qt5 < 5.5.1-10
|
||||
%endif
|
||||
|
||||
Requires: %{name}-rpm-macros = %{version}-%{release}
|
||||
Requires: dbus-python
|
||||
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
||||
%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
||||
@ -103,6 +104,12 @@ Provides: PyQt5-devel = %{version}-%{release}
|
||||
Files needed to build other bindings for C++ classes that inherit from any
|
||||
of the Qt5 classes (e.g. KDE or your own).
|
||||
|
||||
%package rpm-macros
|
||||
Summary: RPM macros %{name}
|
||||
BuildArch: noarch
|
||||
%description rpm-macros
|
||||
%{summary}.
|
||||
|
||||
%package -n python3-qt5
|
||||
Summary: Python 3 bindings for Qt5
|
||||
%{?_sip_api:Requires: python3-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
||||
@ -111,6 +118,7 @@ Summary: Python 3 bindings for Qt5
|
||||
Obsoletes: python3-qt5 < 5.5.1-10
|
||||
%endif
|
||||
Provides: python3-PyQt5 = %{version}-%{release}
|
||||
Requires: %{name}-rpm-macros = %{version}-%{release}
|
||||
Requires: python3-dbus
|
||||
%description -n python3-qt5
|
||||
%{summary}.
|
||||
@ -263,7 +271,6 @@ sed -i \
|
||||
%files
|
||||
%doc NEWS README
|
||||
%license LICENSE
|
||||
%{rpm_macros_dir}/macros.pyqt5
|
||||
%{python2_dbus_dir}/pyqt5.so
|
||||
%{_qt5_plugindir}/PyQt5/
|
||||
%dir %{python2_sitearch}/PyQt5/
|
||||
@ -315,6 +322,9 @@ sed -i \
|
||||
%{python2_sitearch}/PyQt5/QtWebKitWidgets.so
|
||||
%endif
|
||||
|
||||
%files rpm-macros
|
||||
%{rpm_macros_dir}/macros.pyqt5
|
||||
|
||||
%files devel
|
||||
%{_bindir}/pylupdate5
|
||||
%{_bindir}/pyrcc5
|
||||
@ -326,7 +336,6 @@ sed -i \
|
||||
%files -n python3-qt5
|
||||
%doc NEWS README
|
||||
%license LICENSE
|
||||
%{rpm_macros_dir}/macros.pyqt5
|
||||
%{python3_dbus_dir}/pyqt5.so
|
||||
%dir %{python3_sitearch}/PyQt5/
|
||||
%{python3_sitearch}/PyQt5/__pycache__/
|
||||
@ -395,6 +404,9 @@ sed -i \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Mar 24 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-18
|
||||
- -rpm-macros subpkg
|
||||
|
||||
* Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-17
|
||||
- rebuild (qt5-qtenginio)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user