]> git.pld-linux.org Git - packages/perl-Crypt-RSA.git/commitdiff
- added conditional build without tests RA-1_0 STABLE perl-Crypt-RSA-1_48-2
authorankry <ankry@pld-linux.org>
Sat, 14 Sep 2002 16:25:20 +0000 (16:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    perl-Crypt-RSA.spec -> 1.2

perl-Crypt-RSA.spec

index b01c90244281036f0ca3b68160f17a6df564a82f..b7b067bed2190670e46dfb96e75e56d6f2a10402 100644 (file)
@@ -1,3 +1,6 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Crypt
 %define                pnam    RSA
@@ -5,14 +8,14 @@ Summary:      Crypt::RSA Perl module - RSA public-key cryptosystem
 Summary(pl):   Modu³ Perla Crypt::RSA - system kryptograficzny klucza publicznego RSA
 Name:          perl-Crypt-RSA
 Version:       1.48
-Release:       1
+Release:       2
 License:       Artistic or GPL
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 BuildRequires: perl >= 5.6
 BuildRequires: perl-Convert-ASCII-Armour
 BuildRequires: perl-Class-Loader >= 2.00
-BuildRequires: perl-Crypt-Blowfish
+%{!?_without_tests:BuildRequires:      perl-Crypt-Blowfish}
 BuildRequires: perl-Crypt-CBC
 BuildRequires: perl-Crypt-Primes >= 0.38
 BuildRequires: perl-Crypt-Random >= 0.33
@@ -46,6 +49,8 @@ kryptograficznego klucza publicznego RSA.
 perl Makefile.PL
 %{__make}
 
+%{!?_without_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.031819 seconds and 4 git commands to generate.