]> git.pld-linux.org Git - packages/defrag.git/commitdiff
switch to new conditional builds macros (bcond_on_ -> _with_/bcond_off_ -> _without_...
authorArtur Frysiak <artur@frysiak.net>
Tue, 22 May 2001 09:06:16 +0000 (09:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    defrag.spec -> 1.11

defrag.spec

index a9376962d72faf18f5005047697c16c96c467379..f0a0869f139669394f89efdb448f621f15c93e1c 100644 (file)
@@ -32,14 +32,14 @@ minix, ext, ext2 i xia tak, by zwi
 %patch3 -p1
 
 %build
-%{?!bcond_off_static:%{__make} OPTI="%{rpmcflags}" LDFLAGS="%{rpmldflags}}
-%{?bcond_off_static:%{__make} OPTI="%{rpmcflags}" LDFLAGS="%{rpmldflags} e2defrag defrag e2dump frag}
+%{?!_without_static:%{__make} OPTI="%{rpmcflags}" LDFLAGS="%{rpmldflags}}
+%{?_without_static:%{__make} OPTI="%{rpmcflags}" LDFLAGS="%{rpmldflags} e2defrag defrag e2dump frag}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/sbin,%{_mandir}/man8}
 
-%{__make} %{?!bcond_off_static:install}%{?bcond_off_static:install_shared} \
+%{__make} %{?!_without_static:install}%{?_without_static:install_shared} \
        DESTDIR=$RPM_BUILD_ROOT
 
 gzip -9nf BUGS ChangeLog NEWS README
This page took 0.069384 seconds and 4 git commands to generate.