forked from pool/python-rpm-macros
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user