commit c0802767389f9be58826bb004da38b0445856513 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Jan 16 10:27:52 2012 +0100 Spec cleanup, fix dependencies perl-Crypt-PasswdMD5.spec | 20 +++++++------------- 1 files changed, 7 insertions(+), 13 deletions(-) --- diff --git a/perl-Crypt-PasswdMD5.spec b/perl-Crypt-PasswdMD5.spec index f6121eb..22e30c9 100644 --- a/perl-Crypt-PasswdMD5.spec +++ b/perl-Crypt-PasswdMD5.spec @@ -6,10 +6,9 @@ License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Crypt-PasswdMD5/ Source0: http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch +BuildRequires: perl(Digest::MD5) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: %{_bindir}/iconv @@ -26,28 +25,23 @@ This package provides MD5-based crypt() functions make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - - -%clean -rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* %check make test %files -%defattr(-,root,root,-) %doc README %{perl_vendorlib}/Crypt %{_mandir}/man3/* %changelog -* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-12 +* Fri Jan 16 2012 Petr Šabata <psabata@xxxxxxxxxx> - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild +- Spec cleanup, fix dependencies * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.3-11 - Perl mass rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel