1
0
python-pyqt-rpm-macros/python-pyqt-rpm-macros.spec
Benjamin Greiner 079ff98850 Accepting request 875505 from home:bnavigator:pyqt
- remove the runtime requirement on a specific sip-devel package.
  Let the package using the macros decide what they need.

OBS-URL: https://build.opensuse.org/request/show/875505
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-pyqt-rpm-macros?expand=0&rev=12
2021-02-26 18:51:26 +00:00

49 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
Recommends: %{python_module 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