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
This commit is contained in:
Matej Cepl 2018-12-20 00:22:56 +00:00 committed by Git OBS Bridge
parent 483e584ac6
commit 16065f444b
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 19 19:29:44 UTC 2018 - Todd R <toddrme2178@gmail.com>
- 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

View File

@ -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