]> git.pld-linux.org Git - packages/perl-Crypt-Enigma.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 09:21:35 +0000 (11:21 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 09:21:35 +0000 (11:21 +0200)
perl-Crypt-Enigma.spec

index bff90379c0ab4c52d736ae632e84536a2ea2fe75..2e2b1604955d04686ef5221814778eaa5b0240fe 100644 (file)
@@ -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
This page took 0.075384 seconds and 4 git commands to generate.