From 94796336487b703ec6ebb7847c6ac8e334aaa9d5bbf4284ee32f32fee8a9a137 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 22 Feb 2017 15:22:30 +0000 Subject: [PATCH] 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 --- ...n-rpm-macros-1.0.git.1486997542.e9fcc29.tar.bz2 | 3 --- ...n-rpm-macros-1.0.git.1487774244.43af76a.tar.bz2 | 3 +++ python-rpm-macros.changes | 14 ++++++++++++++ python-rpm-macros.spec | 3 ++- 4 files changed, 19 insertions(+), 4 deletions(-) delete mode 100644 python-rpm-macros-1.0.git.1486997542.e9fcc29.tar.bz2 create mode 100644 python-rpm-macros-1.0.git.1487774244.43af76a.tar.bz2 diff --git a/python-rpm-macros-1.0.git.1486997542.e9fcc29.tar.bz2 b/python-rpm-macros-1.0.git.1486997542.e9fcc29.tar.bz2 deleted file mode 100644 index ff883b5..0000000 --- a/python-rpm-macros-1.0.git.1486997542.e9fcc29.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00b24f2bf4442047400dd1f2f10a8c56227ec0362929ef9f79d879442ae2be9f -size 10778 diff --git a/python-rpm-macros-1.0.git.1487774244.43af76a.tar.bz2 b/python-rpm-macros-1.0.git.1487774244.43af76a.tar.bz2 new file mode 100644 index 0000000..155ae96 --- /dev/null +++ b/python-rpm-macros-1.0.git.1487774244.43af76a.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b74bad6a84eacea2ec6e338bb648bb3e084c112c6d44b4f3deb7e4d0ec37cf6a +size 9978 diff --git a/python-rpm-macros.changes b/python-rpm-macros.changes index 001f873..e802cc2 100644 --- a/python-rpm-macros.changes +++ b/python-rpm-macros.changes @@ -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 diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 0ac2b2b..5b4443b 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -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.