diff options
author | ankry | 2004-04-20 23:30:13 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 838ada6bf14d9f6239d669d8a762db0216575a3c (patch) | |
tree | a46b6ce40f9892d2f2ec2e81fcf7454ff19924bd | |
parent | abc51a9926728a22a3afd7ed1c72caf770a95ae9 (diff) | |
download | perl-IPC-Cache-838ada6bf14d9f6239d669d8a762db0216575a3c.zip perl-IPC-Cache-838ada6bf14d9f6239d669d8a762db0216575a3c.tar.gz |
- ported to new bconds
Changed files:
perl-IPC-Cache.spec -> 1.11
-rw-r--r-- | perl-IPC-Cache.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-IPC-Cache.spec b/perl-IPC-Cache.spec index 20dff62..5413fee 100644 --- a/perl-IPC-Cache.spec +++ b/perl-IPC-Cache.spec @@ -1,6 +1,6 @@ # # 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 IPC @@ -15,7 +15,7 @@ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: f730e095f98e44c7b5a9cb5647e6db02 BuildRequires: perl-devel >= 5.005 -%if %{?_without_tests:0}%{!?_without_tests:1} +%if %{with tests} BuildRequires: perl(IPC::ShareLite) >= 0.06 BuildRequires: perl(Storable) >= 0.607 %endif @@ -39,7 +39,7 @@ niezależną od procesów trwałość danych. INSTALLDIRS=vendor %{__make} -%{!?_without_tests:%{__make} test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT |