]> git.pld-linux.org Git - packages/perl-URI.git/commitdiff
- up to 1.27
authormigo <migo@pld-linux.org>
Mon, 6 Oct 2003 19:48:39 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- new bcond style

Changed files:
    perl-URI.spec -> 1.52

perl-URI.spec

index 5991e86088a5a2691229086256cd9c1eda15846f..cb201290a4e7f6ca2658ccb2e44569b80f4b61c6 100644 (file)
@@ -1,7 +1,7 @@
-#
+
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
+%bcond_without tests   # do not perform "make test"
+
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    URI
 %define        pnam    URI
@@ -10,16 +10,15 @@ Summary(pl):        URI - obs
 Summary(ru):   URI - Uniform Resource Identifier (URI) ÓÓÙÌËÉ, ËÁË ÕËÁÚÙ×ÁÅÔ RFC 2396
 Summary(uk):   URI - ÐÏÓÉÌÁÎÎÑ Uniform Resource Identifier (URI) ÑË ×ÉÚÎÁÞÅÎÏ × RFC 2396
 Name:          perl-URI
-Version:       1.25
+Version:       1.27
 Release:       1
 License:       GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
-# Source0-md5: 0298e4498b871cf2aa3e76f7dc8bd6b7
+# Source0-md5: daaad1c7677d78acb0a53fc4493f2aef
 BuildRequires: perl-devel >= 5.6.1
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-MIME-Base64
-BuildRequires: perl-libnet
 %endif
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
@@ -57,7 +56,7 @@ M
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.116439 seconds and 4 git commands to generate.