]> git.pld-linux.org Git - packages/fortune-mod.git/commitdiff
- new bcond style
authorpbern <pbern@pld-linux.org>
Sat, 31 Jan 2004 22:24:18 +0000 (22:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fortune-mod.spec -> 1.28

fortune-mod.spec

index 8869b3fb4766b0c6d2a37ea168c0397e5360ef13..41bc1c9ac89ce1adef4ad73de7fc69e68fd32f27 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_offensive - include offensive fortunes
+%bcond_with offensive          # include offensive fortunes
 #
 Summary:       A program which will display a fortune
 Summary(cs):   Program suenka s vitbou (fortune cookie) s opravami chyb
@@ -157,7 +157,7 @@ pakiet jest tym, czego potrzebujesz.
 %patch2 -p1
 
 %build
-%{__make} CFLAGS="%{rpmcflags} \\\$(DEFINES)" %{?_with_offensive:OFFENSIVE=1}
+%{__make} CFLAGS="%{rpmcflags} \\\$(DEFINES)" %{?with_offensive:OFFENSIVE=1}
 %{__make} fortune/fortune.man
 
 %install
@@ -170,7 +170,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{1,6},%{_datadir}/games/for
        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
        BINMANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
        FORTMANDIR=$RPM_BUILD_ROOT%{_mandir}/man6 \
-       %{?_with_offensive:OFFENSIVE=1}
+       %{?with_offensive:OFFENSIVE=1}
 
 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/unstr.1
 
This page took 0.154601 seconds and 4 git commands to generate.