1
0

Accepting request 460270 from devel:languages:python:Factory

- let %python_module expand *all* its arguments, not just the first
  (so that %{python_module x >= 1.0} works as intended)

- 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/460270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-02-27 17:41:29 +00:00 committed by Git OBS Bridge
commit 51cd8af28a
4 changed files with 25 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:c7abe9e8cfe48964a12758a329be7dcf946d93907f18000ad5ca9e9f07cfe420
size 9965

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Feb 24 13:50:03 UTC 2017 - jmatejek@suse.com
- let %python_module expand *all* its arguments, not just the first
(so that %{python_module x >= 1.0} works as intended)
-------------------------------------------------------------------
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.1487869271.c6e9bfc
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.