6
0

Accepting request 459721 from devel:languages:python:singlespec

- copy BuildArch to subpackages
- on requires/provides etc., perform macro expansion *after* replacing
  'python' name, to allow for tricking the rewriter to not replace

- add BuildRoot to make SLE11 happy
- check presence of %python_files even on new-style distros
- better visibility of the %python_files error

OBS-URL: https://build.opensuse.org/request/show/459721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=28
This commit is contained in:
Jan Matejek
2017-02-22 15:22:30 +00:00
committed by Git OBS Bridge
parent 47f609917e
commit cd59de88f5
4 changed files with 19 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
Name: python-rpm-macros
Version: 1.0.git.1486997542.e9fcc29
Version: 1.0.git.1487774244.43af76a
Release: 0
Summary: RPM macros for building of Python modules
License: WTFPL
@@ -29,6 +29,7 @@ Provides: python2-rpm-macros
Provides: python3-rpm-macros
#!BuildIgnore: python-rpm-macros
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains SUSE RPM macros for Python build automation.