]> git.pld-linux.org Git - packages/perl-Glib.git/commitdiff
- don't include .pods, new-style bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Oct 2003 19:12:20 +0000 (19:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Glib.spec -> 1.14

perl-Glib.spec

index e15060e3343a30f814ad4d114b67eb8907d8e34b..e431cb07c88d511d14cb272c80b588509f998f83 100644 (file)
@@ -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
 
This page took 0.106232 seconds and 4 git commands to generate.