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

index ec6a53b7ee588f2b53a5534fba9b2781a975b7fa..8a77b4927fc8304580a9a1a748d2756dd2285530 100644 (file)
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without tests   # Do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Crypt
 %define                pnam    TripleDES
+%include       /usr/lib/rpm/macros.perl
 Summary:       Crypt::TripleDES Perl module - pure Perl Triple DES implementation
 Summary(pl.UTF-8):     Moduł Perla Crypt::TripleDES - czysto perlowa implementacja Triple DES
 Name:          perl-Crypt-TripleDES
@@ -15,6 +15,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: 90b562175a8f6c5f6bc3eacaddffbcde
+URL:           http://search.cpan.org/dist/Crypt-TripleDES/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
@@ -49,7 +50,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.040785 seconds and 4 git commands to generate.