2017-01-11 15:33:56 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-rpm-macros
|
|
|
|
#
|
2019-02-21 19:01:46 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-01-11 15:33:56 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-12-11 10:04:08 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-01-11 15:33:56 +01:00
|
|
|
#
|
|
|
|
|
2017-02-07 17:33:09 +01:00
|
|
|
|
2017-01-11 15:33:56 +01:00
|
|
|
Name: python-rpm-macros
|
2019-03-07 12:28:40 +01:00
|
|
|
Version: 20190307.fbaed33
|
2017-01-11 15:33:56 +01:00
|
|
|
Release: 0
|
2017-02-07 17:33:09 +01:00
|
|
|
Summary: RPM macros for building of Python modules
|
2017-01-11 15:33:56 +01:00
|
|
|
License: WTFPL
|
2017-02-07 17:30:08 +01:00
|
|
|
Group: Development/Tools/Other
|
2018-12-11 10:04:08 +01:00
|
|
|
Url: https://github.com/opensuse/python-rpm-macros
|
2017-02-13 15:53:41 +01:00
|
|
|
Source: python-rpm-macros-%{version}.tar.bz2
|
2017-01-11 15:33:56 +01:00
|
|
|
# Fedora compatibility
|
|
|
|
Provides: python2-rpm-macros
|
|
|
|
Provides: python3-rpm-macros
|
|
|
|
#!BuildIgnore: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains SUSE RPM macros for Python build automation.
|
|
|
|
You should BuildRequire this package unless you are sure that you
|
|
|
|
are only building for distros newer than Leap 42.2
|
|
|
|
|
|
|
|
%prep
|
2017-02-13 15:53:41 +01:00
|
|
|
%setup -q
|
2017-01-11 15:33:56 +01:00
|
|
|
%if 0%{?suse_version} < 1330
|
|
|
|
mv macros-default-pythons macros/035-default-pythons
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
|
|
|
./compile-macros.sh
|
|
|
|
|
|
|
|
%install
|
2018-12-20 01:22:56 +01:00
|
|
|
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/
|
|
|
|
install -m 644 macros.python_all %{buildroot}%{_rpmconfigdir}/macros.d/
|
2017-01-11 15:33:56 +01:00
|
|
|
|
|
|
|
%files
|
2018-12-20 01:22:56 +01:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_rpmconfigdir}/macros.d/macros.python_all
|
2017-02-07 17:33:09 +01:00
|
|
|
|
|
|
|
%changelog
|