commit 674d6e184bc7c1d6a4e7749ca4dce4ca9175835d Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Wed Nov 14 10:19:36 2012 +0100 Add license Beerware. Use DESTDIR rather than PERL_INSTALL_ROOT. Dont use macros for commands. Dont need to remove empty directories from the buildroot. Signed-off-by: Marcela Mašláňová <mmaslano@xxxxxxxxxx> perl-Crypt-PasswdMD5.spec | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) --- diff --git a/perl-Crypt-PasswdMD5.spec b/perl-Crypt-PasswdMD5.spec index 98864b2..b38dd50 100644 --- a/perl-Crypt-PasswdMD5.spec +++ b/perl-Crypt-PasswdMD5.spec @@ -1,12 +1,12 @@ Name: perl-Crypt-PasswdMD5 Version: 1.3 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Provides interoperable MD5-based crypt() functions -License: GPL+ or Artistic +License: (GPL+ or Artistic) and Beerware 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 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Digest::MD5) BuildRequires: perl(Exporter) @@ -22,13 +22,12 @@ This package provides MD5-based crypt() functions %{__sed} -i -e 's/ISO-8859-1/UTF-8/' PasswdMD5.pm %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{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 @@ -40,6 +39,12 @@ make test %{_mandir}/man3/* %changelog +* Tue Nov 13 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.3-16 +- Add license Beerware +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot + * Thu Nov 01 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.3-15 - Add BR perl(Exporter) -- 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