Christian Wittmer 2010-11-24 17:04:24 +00:00 committed by Git OBS Bridge
parent 01848fa058
commit 1f6cb965f7
5 changed files with 62 additions and 34 deletions

View File

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

3
Digest-HMAC-1.02.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Nov 24 17:04:03 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fixed deps
- noarch pkg
-------------------------------------------------------------------
Fri Jan 15 14:22:45 CET 2010 - anicka@suse.cz
- update to 1.02
* Give the distribution a META.yml file
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-Digest-HMAC (Version 1.01)
# spec file for package perl-Digest-HMAC (Version 1.02)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,28 +17,35 @@
# norootforbuild
Name: perl-Digest-HMAC
BuildRequires: perl-Digest-SHA1
Version: 1.01
Release: 629
Requires: perl-Digest-SHA1
Requires: perl = %{perl_version}
AutoReqProv: on
%define cpan_name Digest-HMAC
Summary: Keyed-Hashing for Message Authentication
Version: 1.02
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/Digest/
Summary: Keyed Hashing for Message Authentication
Source: Digest-HMAC-%{version}.tar.bz2
Url: http://search.cpan.org/dist/Digest-HMAC/
#Source: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-1.02.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Digest::MD5) >= 2
BuildRequires: perl(Digest::SHA1) >= 1
Requires: perl = %{perl_version}
Requires: perl(Digest::MD5) >= 2
Requires: perl(Digest::SHA1) >= 1
%description
HMAC is used for message integrity checks between two parties that
share a secret key. HMAC works in combination with another Digest
algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in RFC
2104.
HMAC is used for message integrity checks between two parties that share a
secret key, and works in combination with some other Digest algorithm,
usually MD5 or SHA-1. The HMAC mechanism is described in RFC 2104.
HMAC follow the common 'Digest::' interface, but the constructor takes the
secret key and the name of some other simple 'Digest::' as argument.
Authors:
--------
@ -46,27 +53,35 @@ Authors:
Gisle Aas <gisle@aas.no>
%prep
%setup -n Digest-HMAC-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
make test
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
### since 11.4 perl_process_packlist
### removes .packlist, perllocal.pod files
%if 0%{?suse_version} > 1130
%perl_process_packlist
%else
# do not perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
%endif
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README rfc2104.txt Changes
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Digest
%{perl_vendorarch}/auto/Digest
/var/adm/perl-modules/%{name}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README
%changelog

0
ready
View File