diff --git a/Digest-MD5-2.36.tar.bz2 b/Digest-MD5-2.36.tar.bz2 deleted file mode 100644 index 3dfc9d4..0000000 --- a/Digest-MD5-2.36.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd428af2e6779ece23d0bbd1dda6b7f7293fc507bda53c77e25d76e536f81bd0 -size 40652 diff --git a/Digest-MD5-2.40.tar.gz b/Digest-MD5-2.40.tar.gz new file mode 100644 index 0000000..543b758 --- /dev/null +++ b/Digest-MD5-2.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91547b49d11d326fcbc3c7b04464a7996f6ab836e5be2504455b315c46cc7de8 +size 45686 diff --git a/perl-Digest-MD5.changes b/perl-Digest-MD5.changes new file mode 100644 index 0000000..7aca7ff --- /dev/null +++ b/perl-Digest-MD5.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Thu Aug 26 09:40:55 UTC 2010 - pascal.bleser@opensuse.org + +- update to 2.40: + * safer alignment test [RT#35823] + * consting in new ext/ + +- changes from 2.39: + * get rid of the PERL_CORE hacks + * ext/Digest/MD5 to ext/Digest-MD5 + +- changes from 2.38: + * applied warning fix [RT#19643] + * applied compatiblity fix [RT#30348] + +- changes from 2.37: + * sync up with consting changes from the perl core + +------------------------------------------------------------------- +Tue Sep 12 00:00:00 UTC 2006 - James Oakley + +- Initial release (2.36) + diff --git a/perl-Digest-MD5.spec b/perl-Digest-MD5.spec index 8edee8c..fd58c06 100644 --- a/perl-Digest-MD5.spec +++ b/perl-Digest-MD5.spec @@ -1,14 +1,24 @@ -%define modname Digest-MD5 -Name: perl-%{modname} -Version: 2.36 -Release: 1 -Summary: Perl interface to the MD5 Algorithm -Requires: perl = %{perl_version} -BuildRequires: perl -License: GPL/Artistic +# vim: set sw=4 ts=4 et nu: +# norootforbuild + +Name: perl-Digest-MD5 +Version: 2.40 +Release: 0 +Summary: Perl interface to the MD-5 algorithm +Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD5-%{version}.tar.gz +URL: http://search.cpan.org/dist/Digest-MD5 Group: Development/Libraries/Perl -Source: %{modname}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-root +License: Perl License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +Requires: perl = %{perl_version} +BuildRequires: make perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(XSLoader) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Digest::base) >= 1.00 +Requires: perl(XSLoader) +Requires: perl(File::Spec) +Requires: perl(Digest::base) >= 1.00 %description The Digest::MD5 module allows you to use the RSA Data Security Inc. MD5 Message @@ -16,35 +26,30 @@ Digest algorithm from within Perl programs. The algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. MD5 is described in RFC 1321. -Authors: --------- - Gisle Aas - %prep -%setup -q -n %{modname}-%{version} +%setup -q -n "Digest-MD5-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make -make test - +%__perl Makefile.PL PREFIX="%{_prefix}" OPTIMIZE="%{optflags} -Wall" +%__make %{?jobs:-j%{jobs}} %install -rm -rf %{buildroot} -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%check +%__make test + %clean -rm -rf %{buildroot} +%{?buildroot:%__rm -rf "%{buildroot}"} %files -%defattr(-, root, root) -%doc README Changes rfc1321.txt -%doc %{_mandir}/man?/* -%{perl_vendorarch}/Digest -%{perl_vendorarch}/auto/Digest +%defattr(-,root,root) +%doc Changes README rfc1321.txt +%dir %{perl_vendorarch}/Digest +%{perl_vendorarch}/Digest/MD5.pm +%dir %{perl_vendorarch}/auto/Digest +%{perl_vendorarch}/auto/Digest/MD5 +%doc %{perl_man3dir}/Digest::MD5.%{perl_man3ext}%{ext_man} /var/adm/perl-modules/%{name} -%changelog - -* Tue Sep 12 2006 - James Oakley - 2.36-1 -- Initial release