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