]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blobdiff - perl-Apache-Admin-Config.spec
- fixed perl-devel BR
[packages/perl-Apache-Admin-Config.git] / perl-Apache-Admin-Config.spec
index b29374254ce94d5cef099dfc19241ee99e38279a..13ce2d0ea5aaeb51b79e9b6643d664e3ce6fbbcf 100644 (file)
@@ -1,10 +1,11 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # don't perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Apache
 %define        pnam    Admin-Config
-Summary:       Apache::Admin::Config - Manipulate Apache configuration files
+Summary:       Apache::Admin::Config - manipulate Apache configuration files
 Summary(pl):   Apache::Admin::Config - manipulowanie plikami konfiguracyjnymi Apache'a
 Name:          perl-Apache-Admin-Config
 Version:       0.91
@@ -12,7 +13,8 @@ Release:      2
 License:       LGPL v2.1+
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
+# Source0-md5: eb3f330896a0a64137b2b5174649f40e
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,15 +34,16 @@ ani skracania linii.
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 # I don't get why it's needed... -- radek
 install -d $RPM_BUILD_ROOT%{_mandir}/man3
This page took 0.061187 seconds and 4 git commands to generate.