diff options
author | ankry | 2004-08-11 05:59:53 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 02171e73f532e3ed3b561001dc67060ccee55d2a (patch) | |
tree | 9ad9e97791aa1eee662e1454cb9fe52e565898e8 | |
parent | fd09a3bbe859f76e34d75ba93bdb9d2e01f73062 (diff) | |
download | perl-Apache-VMonitor-02171e73f532e3ed3b561001dc67060ccee55d2a.zip perl-Apache-VMonitor-02171e73f532e3ed3b561001dc67060ccee55d2a.tar.gz |
- tests + BRs, rel. 6auto/ac/perl-Apache-VMonitor-2_0-6
Changed files:
perl-Apache-VMonitor.spec -> 1.22
-rw-r--r-- | perl-Apache-VMonitor.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/perl-Apache-VMonitor.spec b/perl-Apache-VMonitor.spec index 6253752..b6c9123 100644 --- a/perl-Apache-VMonitor.spec +++ b/perl-Apache-VMonitor.spec @@ -1,5 +1,6 @@ # Conditional build: -%bcond_with apache1 # build with apache1 +%bcond_with apache1 # build with apache1 +%bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir Apache @@ -8,7 +9,7 @@ Summary: Apache::VMonitor - visual system and Apache server monitor Summary(pl): Apache::VMonitor - wizualny monitor serwera Apache i systemu Name: perl-Apache-VMonitor Version: 2.0 -Release: 5 +Release: 6 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl @@ -16,6 +17,10 @@ Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version # Source0-md5: 17c76c95f1714a3096cf0910bfcdc7e7 Source1: %{name}.conf BuildRequires: apache-mod_perl >= 1.15 +%if %{with tests} +BuildRequires: perl-Apache-Scoreboard +BuildRequires: perl-Template-Toolkit +%endif BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 Requires: apache-mod_perl >= 1.15 @@ -46,6 +51,8 @@ przez interfejs WWW. MOD_PERL=%{?with_apache1:1}%{!?with_apache1:2} %{__make} +%{?with_tests:%{__make} test} + %install rm -rf $RPM_BUILD_ROOT |