8
0
Pascal Bleser
2010-08-26 09:46:16 +00:00
committed by Git OBS Bridge
parent e92ac50370
commit 76f60608a3
4 changed files with 62 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd428af2e6779ece23d0bbd1dda6b7f7293fc507bda53c77e25d76e536f81bd0
size 40652

3
Digest-MD5-2.40.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91547b49d11d326fcbc3c7b04464a7996f6ab836e5be2504455b315c46cc7de8
size 45686

23
perl-Digest-MD5.changes Normal file
View File

@@ -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 <jfunk@funktronics.ca>
- Initial release (2.36)

View File

@@ -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 <gisle@ActiveState.com>
%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 <jfunk@funktronics.ca> - 2.36-1
- Initial release