Fix issues from package review.
This commit is contained in:
parent
f734db9c80
commit
6fbd7a069e
@ -1,6 +1,6 @@
|
||||
Name: perl-Digest-HMAC
|
||||
Version: 1.01
|
||||
Release: 16
|
||||
Release: 17%{?dist}
|
||||
Summary: Digest-HMAC Perl module
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -10,9 +10,8 @@ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 1:5.6.1
|
||||
BuildRequires: perl(Digest::MD5), perl(Digest::SHA1), perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
HMAC is used for message integrity checks between two parties that
|
||||
@ -27,10 +26,12 @@ the secret key and the name of some other simple Digest:: as argument.
|
||||
%prep
|
||||
%setup -q -n Digest-HMAC-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
@ -38,9 +39,11 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -53,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 1.01-17
|
||||
- fix various issues from package review
|
||||
|
||||
* Mon Aug 27 2007 Robin Norwood <rnorwood@redhat.com> - 1.01-16
|
||||
- Fix license tag
|
||||
- add %%doc section
|
||||
|
||||
Loading…
Reference in New Issue
Block a user