|
|
c1aebb |
Name: perl-Digest
|
|
|
c1aebb |
Version: 1.17
|
|
|
c1aebb |
Release: 244%{?dist}
|
|
|
c1aebb |
Summary: Modules that calculate message digests
|
|
|
c1aebb |
License: GPL+ or Artistic
|
|
|
c1aebb |
Group: Development/Libraries
|
|
|
c1aebb |
URL: http://search.cpan.org/dist/Digest/
|
|
|
c1aebb |
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-%{version}.tar.gz
|
|
|
c1aebb |
BuildArch: noarch
|
|
|
c1aebb |
BuildRequires: perl(Carp)
|
|
|
c1aebb |
BuildRequires: perl(Exporter)
|
|
|
c1aebb |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
c1aebb |
BuildRequires: perl(MIME::Base64)
|
|
|
c1aebb |
# Tests only:
|
|
|
c1aebb |
BuildRequires: perl(lib)
|
|
|
c1aebb |
BuildRequires: perl(Test::More) >= 0.47
|
|
|
c1aebb |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
c1aebb |
Requires: perl(MIME::Base64)
|
|
|
c1aebb |
|
|
|
c1aebb |
%description
|
|
|
c1aebb |
The Digest:: modules calculate digests, also called "fingerprints" or
|
|
|
c1aebb |
"hashes", of some data, called a message. The digest is (usually)
|
|
|
c1aebb |
some small/fixed size string. The actual size of the digest depend of
|
|
|
c1aebb |
the algorithm used. The message is simply a sequence of arbitrary
|
|
|
c1aebb |
bytes or bits.
|
|
|
c1aebb |
|
|
|
c1aebb |
%prep
|
|
|
c1aebb |
%setup -q -n Digest-%{version}
|
|
|
c1aebb |
chmod -x digest-bench
|
|
|
c1aebb |
|
|
|
c1aebb |
%build
|
|
|
c1aebb |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
c1aebb |
make %{?_smp_mflags}
|
|
|
c1aebb |
|
|
|
c1aebb |
%install
|
|
|
c1aebb |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
c1aebb |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
c1aebb |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
c1aebb |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
c1aebb |
|
|
|
c1aebb |
%check
|
|
|
c1aebb |
make test
|
|
|
c1aebb |
|
|
|
c1aebb |
%files
|
|
|
c1aebb |
%doc Changes digest-bench README
|
|
|
c1aebb |
%{perl_vendorlib}/*
|
|
|
c1aebb |
%{_mandir}/man3/*
|
|
|
c1aebb |
|
|
|
c1aebb |
%changelog
|
|
|
c1aebb |
* Fri May 03 2013 Petr Pisar <ppisar@redhat.com> - 1.17-244
|
|
|
c1aebb |
- Increase release number to supersede perl sub-package (bug #957931)
|
|
|
c1aebb |
|
|
|
c1aebb |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-241
|
|
|
c1aebb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c1aebb |
|
|
|
c1aebb |
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.17-240
|
|
|
c1aebb |
- bump release to override sub-package from perl.spec
|
|
|
c1aebb |
|
|
|
c1aebb |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
|
|
|
c1aebb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c1aebb |
|
|
|
c1aebb |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.17-3
|
|
|
c1aebb |
- Perl 5.16 rebuild
|
|
|
c1aebb |
|
|
|
c1aebb |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-2
|
|
|
c1aebb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
c1aebb |
|
|
|
c1aebb |
* Tue Oct 04 2011 Petr Pisar <ppisar@redhat.com> 1.17-1
|
|
|
c1aebb |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
c1aebb |
- Remove BuildRoot and defattr from spec code.
|