forked from pool/python-rpm-macros
Accepting request 660148 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/660148 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=14
This commit is contained in:
commit
5ebcc2dc30
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user