From 16065f444b20d1be93ca10cfa7710ed82116a06ead922f90a81caf167a814644 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 20 Dec 2018 00:22:56 +0000 Subject: [PATCH] Accepting request 660112 from home:TheBlackCat:branches:devel:languages:python:Factory - Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros. - Include license and readme. OBS-URL: https://build.opensuse.org/request/show/660112 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=56 --- python-rpm-macros.changes | 7 +++++++ python-rpm-macros.spec | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-rpm-macros.changes b/python-rpm-macros.changes index 72a6687..c21b02b 100644 --- a/python-rpm-macros.changes +++ b/python-rpm-macros.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 19 19:29:44 UTC 2018 - Todd R + +- Use upstream-recommended %{_rpmconfigdir}/macros.d directory + for the rpm macros. +- Include license and readme. + ------------------------------------------------------------------- Tue Dec 11 11:27:17 UTC 2018 - opensuse-packaging@opensuse.org diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index e88407d..9613662 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -29,7 +29,6 @@ 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. @@ -46,11 +45,12 @@ mv macros-default-pythons macros/035-default-pythons ./compile-macros.sh %install -mkdir -p %{buildroot}%{_sysconfdir}/rpm -install -m 644 macros.python_all %{buildroot}%{_sysconfdir}/rpm +mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/ +install -m 644 macros.python_all %{buildroot}%{_rpmconfigdir}/macros.d/ %files -%defattr(-,root,root) -%{_sysconfdir}/rpm/macros.python_all +%license LICENSE +%doc README.md +%{_rpmconfigdir}/macros.d/macros.python_all %changelog