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

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


commit 8698d70b3c05cfe0b9e5d402cd89d08daf69b46e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 11:21:13 2014 +0200

    use generic url

 perl-Crypt-Cipher.spec | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/perl-Crypt-Cipher.spec b/perl-Crypt-Cipher.spec
index d2b6efd..bd8a350 100644
--- a/perl-Crypt-Cipher.spec
+++ b/perl-Crypt-Cipher.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	Cipher
+%include	/usr/lib/rpm/macros.perl
 Summary:	Crypt::Cipher - very flexible base class for text ciphers
 Summary(pl.UTF-8):	Crypt::Cipher - bardzo elastyczna klasa bazowa dla szyfrów tekstowych
 Name:		perl-Crypt-Cipher
@@ -15,9 +15,12 @@ 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:	0d4467342f81a0adb1f53cabb9cd473b
-%{?with_tests:BuildRequires:	perl-Regexp-Tr >= 0.04}
+URL:		http://search.cpan.org/dist/Crypt-Cipher/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Regexp-Tr >= 0.04
+%endif
 Requires:	perl-Regexp-Tr >= 0.04
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,8 +31,8 @@ ciphers of various kinds, saving on development time and redundant
 code.
 
 %description -l pl.UTF-8
-Moduł Crypt::Cipher dostarcza standardowy interfejs i proste metody dla
-szyfrów różnego rodzaju, pozwalając zaoszczędzić na czasie
+Moduł Crypt::Cipher dostarcza standardowy interfejs i proste metody
+dla szyfrów różnego rodzaju, pozwalając zaoszczędzić na czasie
 programowania i powielonym kodzie.
 
 %prep
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-Cipher.git/commitdiff/8698d70b3c05cfe0b9e5d402cd89d08daf69b46e



More information about the pld-cvs-commit mailing list