1
0
python-pyqt-rpm-macros/python-pyqt-rpm-macros.spec
Benjamin Greiner e40fff8e07 Accepting request 874295 from home:bnavigator:pyqt
- update to version 0.1
- Add PyQt6 support
- Add link to wiki in macros file
- Remove python-rpm-macros interpreter workaround. The
  inconsistency never made it into a released package.

OBS-URL: https://build.opensuse.org/request/show/874295
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-pyqt-rpm-macros?expand=0&rev=10
2021-02-22 11:28:23 +00:00

50 lines
1.4 KiB
RPMSpec

#
# spec file for package python-pyqt-rpm-macros
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-pyqt-rpm-macros
Version: 0.1
Release: 0
Summary: RPM macros for building PyQt packages
License: WTFPL
URL: https://en.opensuse.org/openSUSE:Packaging_PyQt_and_SIP
Source0: macros.pyqt
Source1: LICENSE
Requires: fdupes
Requires: python-rpm-macros
# this is not a singlespec package
Requires: (python-sip-devel or python3-sip-devel)
BuildArch: noarch
%description
This package provides some macros for using SIP v[456] to build PyQt[56] packages
%prep
cp %{SOURCE1} .
%build
%install
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/
install -m 644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/
%files
%license LICENSE
%{_rpmconfigdir}/macros.d/macros.pyqt
%changelog