diff options
author | eothane | 2004-03-13 23:09:16 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 572c3c2e6362a6e08fe535fca32df456e8105235 (patch) | |
tree | 55b813bdb2836780740d985c3724dcea03cc72c8 | |
parent | b5c4a79ebf7df2024aacaf408c4f06acafe815b4 (diff) | |
download | perl-POE-Component-SNMP-572c3c2e6362a6e08fe535fca32df456e8105235.zip perl-POE-Component-SNMP-572c3c2e6362a6e08fe535fca32df456e8105235.tar.gz |
- new bcond style; some cosmetics here and there; changelog cleanups
Changed files:
perl-POE-Component-SNMP.spec -> 1.7
-rw-r--r-- | perl-POE-Component-SNMP.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-POE-Component-SNMP.spec b/perl-POE-Component-SNMP.spec index aa13a28..f67086a 100644 --- a/perl-POE-Component-SNMP.spec +++ b/perl-POE-Component-SNMP.spec @@ -1,6 +1,6 @@ # # Conditional build: -# _with_tests - perform "make test" +%bcond_with tests # perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir POE @@ -17,7 +17,7 @@ Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version # Source0-md5: 3af45861535db9f229adfe0654c32c07 BuildRequires: perl-devel >= 5.6 BuildRequires: rpm-perlprov >= 4.1-13 -%if %{?_with_tests:1}0 +%if %{with tests} BuildRequires: perl-Net-SNMP BuildRequires: perl-POE %endif @@ -38,7 +38,7 @@ Ten moduł to sterowany zdarzeniami interfejs do SNMP dla POE. INSTALLDIRS=vendor %{__make} -%{?_with_tests:%{__make} test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT |