From: Jakub Bogusz Date: Fri, 17 Oct 2003 19:12:20 +0000 (+0000) Subject: - don't include .pods, new-style bcond X-Git-Tag: auto/ac/perl-Glib-1_020-1~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fperl-Glib.git;a=commitdiff_plain;h=ec9b7e4b1db3eeb97f36fa5afe4d1d8ca058948d - don't include .pods, new-style bcond Changed files: perl-Glib.spec -> 1.14 --- diff --git a/perl-Glib.spec b/perl-Glib.spec index e15060e..e431cb0 100644 --- a/perl-Glib.spec +++ b/perl-Glib.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 pnam Glib @@ -37,7 +37,7 @@ Ten modu %{__make} \ OPTIMIZE="%{rpmcflags}" -%{!?_without_tests:%{__make} test} +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT @@ -45,6 +45,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Glib/*.pod + %clean rm -rf $RPM_BUILD_ROOT