[packages/perl-Crypt-HCE_MD5] use generic url
glen
glen at pld-linux.org
Tue Nov 25 10:21:50 CET 2014
commit 214de0dc91c7f4d5ce8df5b54708c05d7365d834
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 11:21:46 2014 +0200
use generic url
perl-Crypt-HCE_MD5.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-Crypt-HCE_MD5.spec b/perl-Crypt-HCE_MD5.spec
index 7639bd3..e7b1998 100644
--- a/perl-Crypt-HCE_MD5.spec
+++ b/perl-Crypt-HCE_MD5.spec
@@ -1,6 +1,6 @@
-%include /usr/lib/rpm/macros.perl
%define pdir Crypt
%define pnam HCE_MD5
+%include /usr/lib/rpm/macros.perl
Summary: Crypt::HCE_MD5 Perl module - hash chaining encryption using MD5
Summary(pl.UTF-8): Moduł Perla Crypt::HCE_MD5 - łańcuchowe kodowanie z użyciem MD5
Name: perl-Crypt-HCE_MD5
@@ -10,9 +10,10 @@ License: unknown
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 2fca1b79ee1a83854938f5c7711a19be
-BuildRequires: perl-devel >= 1:5.8.0
+URL: http://search.cpan.org/dist/Crypt-HCE_MD5/
BuildRequires: perl-Digest-MD5 >= 2
BuildRequires: perl-MIME-Base64 >= 2
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
Requires: perl-Digest-MD5 >= 2
Requires: perl-MIME-Base64 >= 2
@@ -45,7 +46,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-HCE_MD5.git/commitdiff/214de0dc91c7f4d5ce8df5b54708c05d7365d834
More information about the pld-cvs-commit
mailing list