[packages/perl-Crypt-Enigma] use generic url

glen glen at pld-linux.org
Tue Nov 25 10:21:39 CET 2014


commit 4d78e36624e6c246374a2effc9c91335ebc8bcb8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 11:21:35 2014 +0200

    use generic url

 perl-Crypt-Enigma.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-Crypt-Enigma.spec b/perl-Crypt-Enigma.spec
index bff9037..2e2b160 100644
--- a/perl-Crypt-Enigma.spec
+++ b/perl-Crypt-Enigma.spec
@@ -1,6 +1,6 @@
-%include	/usr/lib/rpm/macros.perl
 %define		pdir	Crypt
 %define		pnam	Enigma
+%include	/usr/lib/rpm/macros.perl
 Summary:	Crypt::Enigma Perl module - WWII Enigma Machine implementation
 Summary(pl.UTF-8):	Moduł Perla Crypt::Enigma - implementacja maszyny Enigma z IIWŚ
 Name:		perl-Crypt-Enigma
@@ -11,6 +11,7 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	b42a31612adde7e4cfab73495df2f065
+URL:		http://search.cpan.org/dist/Crypt-Enigma/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
@@ -44,7 +45,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-Enigma.git/commitdiff/4d78e36624e6c246374a2effc9c91335ebc8bcb8



More information about the pld-cvs-commit mailing list