[perl-Crypt-PasswdMD5/el6] Sync with EL-6 package for ppc64 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 8c76368cb0a8d0c86dea5c7d1afde01aa19196d2
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Feb 5 15:10:22 2015 +0000

    Sync with EL-6 package for ppc64 support

 perl-Crypt-PasswdMD5.spec |  122 +++++++++++++-------------------------------
 1 files changed, 36 insertions(+), 86 deletions(-)
---
diff --git a/perl-Crypt-PasswdMD5.spec b/perl-Crypt-PasswdMD5.spec
index 06cbb18..1d7531a 100644
--- a/perl-Crypt-PasswdMD5.spec
+++ b/perl-Crypt-PasswdMD5.spec
@@ -1,108 +1,58 @@
-%global cpan_version 1.40
-Name:       perl-Crypt-PasswdMD5
-# Keep 1-digit version because of history
-Version:    %(echo '%{cpan_version}' | sed 's/\.\(.\)/.\1./')
-Release:    3%{?dist}
-Summary:    Provides interoperable MD5-based crypt() functions 
-License:    GPL+ or Artistic
-Group:      Development/Libraries
-URL:        http://search.cpan.org/dist/Crypt-PasswdMD5/
-Source0:    http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-%{cpan_version}.tgz
-BuildArch:  noarch
-BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
-# Run-time:
-BuildRequires:  perl(Digest::MD5) >= 2.53
-BuildRequires:  perl(Exporter)
-# Tests:
-BuildRequires:  perl(Test::More) >= 0.94
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-Requires:       perl(Digest::MD5) >= 2.53
-
-# Filer under-specified dependencies
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::MD5\\)$
+Name:    perl-Crypt-PasswdMD5
+Version: 1.3
+Release: 6%{?dist}
+Summary: Provides interoperable MD5-based crypt() functions 
+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(ExtUtils::MakeMaker)
+BuildRequires: %{_bindir}/iconv
 
 %description
-This package provides MD5-based crypt() functions.
+This package provides MD5-based crypt() functions
 
 %prep
-%setup -q -n Crypt-PasswdMD5-%{cpan_version}
+%setup -q -n Crypt-PasswdMD5-%{version}
+%{_bindir}/iconv -f iso-8859-1 -t utf-8 -o PasswdMD5.pm.new PasswdMD5.pm && mv PasswdMD5.pm.new PasswdMD5.pm
+%{__sed} -i -e 's/ISO-8859-1/UTF-8/' PasswdMD5.pm
+%{_bindir}/iconv -f iso-8859-1 -t utf-8 -o README.new README && mv README.new README
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-chmod -R u+w %{buildroot}/*
+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
 
 %check
 make test
 
 %files
-%doc Changes README
+%defattr(-,root,root,-)
+%doc README
 %{perl_vendorlib}/Crypt
 %{_mandir}/man3/*
 
 %changelog
-* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.4.0-3
-- Perl 5.20 rebuild
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.4.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Tue Oct 01 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.4.0-1
-- 1.40 bump
-- License changed to (GPL+ or Artistic)
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-19
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Wed Jul 17 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.3-18
-- Perl 5.18 rebuild
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-17
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* 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)
-
-* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Fri Jun 08 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.3-13
-- Perl 5.16 rebuild
-
-* Mon 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
-
-* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.3-10
-- Perl 5.14 mass rebuild
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Thu Dec 16 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.3-8
-- 661697 rebuild for fixing problems with vendorach/lib
-
-* Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.3-7
-- Mass rebuild with perl-5.12.0
+* Wed Feb 10 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.3-6
+- make rpmlint happy
+- Resolves: rhbz#543948
 
-* Fri Dec  4 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 1.3-6
-- rebuild against perl 5.10.1
+* Thu Dec 03 2009 Dennis Gregorovic <dgregor@xxxxxxxxxx> - 1.3-5.1
+- Rebuilt for RHEL 6
 
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.3-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux