[packages/perl-Crypt-OOEnigma] use generic url
glen
glen at pld-linux.org
Tue Nov 25 10:22:12 CET 2014
commit a5663d0e919ef871c4bb578d314910c93000af9f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 11:22:09 2014 +0200
use generic url
perl-Crypt-OOEnigma.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-Crypt-OOEnigma.spec b/perl-Crypt-OOEnigma.spec
index 84d1ca8..936cca4 100644
--- a/perl-Crypt-OOEnigma.spec
+++ b/perl-Crypt-OOEnigma.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-OOEnigma.git/commitdiff/a5663d0e919ef871c4bb578d314910c93000af9f
More information about the pld-cvs-commit
mailing list