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

index d2b6efd0581a8093dff463614244fe9b1a19f6fc..bd8a350f6e8226f6a7d75428df626031adb3f3f0 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    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
This page took 0.098275 seconds and 4 git commands to generate.