]> git.pld-linux.org Git - packages/perl-Cache-Cache.git/commitdiff
- added tests onm bcond perl-Cache-Cache-1_01-3
authorankry <ankry@pld-linux.org>
Mon, 16 Sep 2002 08:15:08 +0000 (08:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove %{perl_sitelib}/Cache dir (moved to perl)
- release 3

Changed files:
    perl-Cache-Cache.spec -> 1.10

perl-Cache-Cache.spec

index b2a15cd42c9771d068e9afc497d67fd6255d012b..463428fa852d59b5bf9e1e55797becdd8f5d775f 100644 (file)
@@ -1,11 +1,15 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Cache
-%define        pnam    Cache
+%define                pdir    Cache
+%define                pnam    Cache
 Summary:       Cache::Cache perl extension
 Summary(pl):   Rozszerzenie perla: Cache::Cache
 Name:          perl-Cache-Cache
 Version:       1.01
-Release:       2
+Release:       3
 License:       GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -46,6 +50,7 @@ plik
 %build
 perl Makefile.PL
 %{__make}
+%{!?_without_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,5 +63,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES COPYING CREDITS DISCLAIMER README STYLE TODO
-%{perl_sitelib}/Cache
+%{perl_sitelib}/Cache/*.pm
 %{_mandir}/man3/*
This page took 0.02969 seconds and 4 git commands to generate.