Summary: Sensible Perl-specific RPM build macros Name: perl-macros # fedora builds this from perl.src.rpm :( Epoch: 4 Version: 5.16.2 Release: 242 Group: Development/Languages License: GPL+ or Artistic Source0: http://pkgs.fedoraproject.org/cgit/perl.git/plain/macros.perl BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Macros for rpmbuild are needed during build of srpm in koji. This sub-package must be installed into buildroot, so it will be needed by perl. Perl is needed because of git. %prep %setup -q -c -T %{__cp} %{SOURCE0} . %build %install %{__rm} -rf %{buildroot} %{__install} -d -m0755 $RPM_BUILD_ROOT%{_sysconfdir}/rpm %{__install} -m0644 macros.perl $RPM_BUILD_ROOT%{_sysconfdir}/rpm/ %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_sysconfdir}/rpm/macros.perl %changelog * Tue Nov 06 2012 Marius FERARU - 4:5.16.2-242 - initial build for EL