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 e5fe30145b
commit 9479633648
4 changed files with 19 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00b24f2bf4442047400dd1f2f10a8c56227ec0362929ef9f79d879442ae2be9f
size 10778

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b74bad6a84eacea2ec6e338bb648bb3e084c112c6d44b4f3deb7e4d0ec37cf6a
size 9978

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 22 14:38:28 UTC 2017 - jmatejek@suse.com
- copy BuildArch to subpackages
- on requires/provides etc., perform macro expansion *after* replacing
'python' name, to allow for tricking the rewriter to not replace
-------------------------------------------------------------------
Tue Feb 21 14:55:08 UTC 2017 - jmatejek@suse.com
- add BuildRoot to make SLE11 happy
- check presence of %python_files even on new-style distros
- better visibility of the %python_files error
-------------------------------------------------------------------
Mon Feb 13 14:46:25 UTC 2017 - jmatejek@suse.com

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.