rpms/perl-Digest-MD2/EL-5 perl-Digest-MD2.spec,1.3,1.4
Paul Howarth
pghmcfc at fedoraproject.org
Fri Mar 13 07:25:53 UTC 2009
Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Digest-MD2/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1096/EL-5
Modified Files:
perl-Digest-MD2.spec
Log Message:
Sync EPEL with Fedora
Index: perl-Digest-MD2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Digest-MD2/EL-5/perl-Digest-MD2.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Digest-MD2.spec 29 Aug 2006 17:25:58 -0000 1.3
+++ perl-Digest-MD2.spec 13 Mar 2009 07:25:22 -0000 1.4
@@ -1,13 +1,20 @@
Summary: Perl interface to the MD2 Algorithm
Name: perl-Digest-MD2
Version: 2.03
-Release: 3%{?dist}
-License: GPL or Artistic
+Release: 9%{?dist}
+License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Digest-MD2/
Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(ExtUtils::MakeMaker)
+
+# don't "provide" private Perl libs
+%global _use_internal_dependency_generator 0
+%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
+%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
+%global __find_requires /bin/sh -c "%{__deploop R}"
%description
The Digest::MD2 module allows you to use the RSA Data Security Inc. MD2 Message
@@ -21,6 +28,10 @@
%prep
%setup -q -n Digest-MD2-%{version}
+# Convert docs to UTF-8 encoding
+/usr/bin/iconv -f iso-8859-1 -t utf-8 < Changes > Changes.utf8
+%{__mv} -f Changes.utf8 Changes
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
@@ -33,20 +44,40 @@
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%clean
%{__rm} -rf %{buildroot}
%files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
%doc README Changes rfc1319.txt
%{perl_vendorarch}/Digest/
%{perl_vendorarch}/auto/Digest/
%{_mandir}/man3/Digest::MD2.3pm*
%changelog
+* Sat Mar 7 2009 Paul Howarth <paul at city-fan.org> - 2.03-9
+- Filter out unwanted provides for perl shared objects
+- Recode docs as UTF-8
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.03-7
+- rebuild for new perl
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.03-6
+- Autorebuild for GCC 4.3
+
+* Mon Aug 13 2007 Paul Howarth <paul at city-fan.org> 2.03-5
+- Clarify license as GPL v1 or later, or Artistic (same as perl)
+
+* Wed Apr 18 2007 Paul Howarth <paul at city-fan.org> 2.03-4
+- Buildrequire perl(ExtUtils::MakeMaker)
+- Fix argument order for find with -depth
+
* Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 2.03-3
- FE6 mass rebuild
More information about the scm-commits
mailing list