]> git.pld-linux.org Git - packages/perl-Archive-Zip.git/commitdiff
- up to 1.08
authormigo <migo@pld-linux.org>
Wed, 22 Oct 2003 20:14:10 +0000 (20:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- new bcond style

Changed files:
    perl-Archive-Zip.spec -> 1.29

perl-Archive-Zip.spec

index 505eed9d772bda6df1c56ad70746cf38ae254ad1..1003e85a7d7da1ffebb736a37d9fd582ed7f5f00 100644 (file)
@@ -1,21 +1,21 @@
-#
+
 # 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    Archive
 %define                pnam    Zip
 Summary:       Archive::Zip - module for manipulation of ZIP archives
 Summary(pl):   Archive::Zip - modu³ do manipulacji archiwami ZIP
 Name:          perl-Archive-Zip
-Version:       1.06
+Version:       1.08
 Release:       1
 License:       GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 0e5843e5e0f961652ff52c0d64f7ea0a
+# Source0-md5: 597652bdd4b2ad7e614c68a18c14d811
 BuildRequires: perl-devel >= 5.6
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Compress-Zlib >= 1.14
 %endif
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -38,13 +38,14 @@ manipulowania, czytania i zapisywania archiw
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.037674 seconds and 4 git commands to generate.