Move macro files into %{_rpmconfigdir}/macros.d
%{_rpmconfigdir} is supported since RPM 4.11.
This commit is contained in:
parent
650c3c5896
commit
2420d5e1e7
@ -1,6 +1,6 @@
|
||||
Name: perl-srpm-macros
|
||||
Version: 1
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: RPM macros for building Perl source package from source repository
|
||||
Group: Development/Libraries
|
||||
License: GPLv3+
|
||||
@ -13,12 +13,15 @@ repositories. They influence build-requires set into the source package.
|
||||
|
||||
%install
|
||||
install -m 644 -D "%{SOURCE0}" \
|
||||
"$RPM_BUILD_ROOT/%{_sysconfdir}/rpm/macros.perl-srpm"
|
||||
'%{buildroot}%{_rpmconfigdir}/macros.d/macros.perl-srpm'
|
||||
|
||||
%files
|
||||
%{_sysconfdir}/rpm/macros.perl-srpm
|
||||
%{_rpmconfigdir}/macros.d/macros.perl-srpm
|
||||
|
||||
%changelog
|
||||
* Mon Feb 03 2014 Petr Pisar <ppisar@redhat.com> - 1-11
|
||||
- Move macro files into %%{_rpmconfigdir}/macros.d
|
||||
|
||||
* Tue Aug 13 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1-10
|
||||
- Disable perl_bootstrap for perl 5.18 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user