summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Gołębiowski2004-02-07 08:24:54 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit7a46c0e30ef484ebae8fae4e0a4e527bd5a662eb (patch)
treeff6494880cb468f9ac8f970a17ec85c8874b1a82
parentcc422f5b6f02f4f02db6b12d4ef7e27137321797 (diff)
downloadperl-Apache-Session-SharedMem-7a46c0e30ef484ebae8fae4e0a4e527bd5a662eb.zip
perl-Apache-Session-SharedMem-7a46c0e30ef484ebae8fae4e0a4e527bd5a662eb.tar.gz
- updated to 0.5
- new style bconds Changed files: perl-Apache-Session-SharedMem.spec -> 1.11
-rw-r--r--perl-Apache-Session-SharedMem.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/perl-Apache-Session-SharedMem.spec b/perl-Apache-Session-SharedMem.spec
index dc8faf4..3c68b69 100644
--- a/perl-Apache-Session-SharedMem.spec
+++ b/perl-Apache-Session-SharedMem.spec
@@ -1,21 +1,22 @@
#
# 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 Apache
%define pnam Session-SharedMem
Summary: Apache::Session::Store::SharedMem - Store persistent data in shared memory
Summary(pl): Apache::Session::Store::SharedMem - Przechowuj trwa³e dane w pamiêci dzielonej
Name: perl-Apache-Session-SharedMem
-Version: 0.41
-Release: 2
+Version: 0.5
+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: 74284d41fb3373d628ddb42fd3ee613b
+# Source0-md5: 1649b54fc1839d3b01d7a58da65a7d2e
BuildRequires: perl-devel >= 5.6
BuildRequires: rpm-perlprov >= 4.1-13
-%if %{?_without_tests:0}%{!?_without_tests:1}
+%if %{with tests}
BuildRequires: perl-Apache-Session
BuildRequires: perl-IPC-Cache
%endif
@@ -40,7 +41,7 @@ IPC::Cache (a wiêc IPC::ShareLite).
INSTALLDIRS=vendor
%{__make}
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT