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

index 84d1ca8ef2989d18176061f123118fdd186d32a1..936cca412bcf568761ae8f4b74e13715e22b870d 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    OOEnigma
+%include       /usr/lib/rpm/macros.perl
 Summary:       Crypt::OOEnigma Perl module - flexible interface to Enigma
 Summary(pl.UTF-8):     Moduł Perla Crypt::OOEnigma - elastyczny interfejs do Enigmy
 Name:          perl-Crypt-OOEnigma
@@ -15,8 +15,9 @@ 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: e8c14d05b89a30574d1a5d6cea239cde
-BuildRequires: perl-devel >= 1:5.8.0
+URL:           http://search.cpan.org/dist/Crypt-OOEnigma/
 BuildRequires: perl-Test-Simple >= 0.41
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,7 +55,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install bin/Enigma.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p bin/Enigma.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.094432 seconds and 4 git commands to generate.