]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- spec %%{debug} ready,
authorkloczek <kloczek@pld-linux.org>
Thu, 28 Sep 2000 14:44:52 +0000 (14:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added using rpm new automation.

Changed files:
    util-linux.spec -> 1.75

util-linux.spec

index eb0a948827a3916d926f8f30aac59a2893c1cbc9..294ad953fc0945053f37fc1fcba361ae59936caf 100644 (file)
@@ -252,10 +252,10 @@ support for this feature built into them, however).
 
 %build
 
-CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
+CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -I%{_includedir}/ncurses"
 %configure
 
-make   OPT="$RPM_OPT_FLAGS" \
+make   OPT="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} \
        MOREHELPDIR=%{_datadir}/misc
 
 (cd sys-utils; makeinfo ipc.texi)
@@ -315,8 +315,7 @@ echo        .so hwclock.8 > $RPM_BUILD_ROOT%{_mandir}/man8/clock.8
 
 ln -sf swapon $RPM_BUILD_ROOT/sbin/swapoff
 
-gzip -9fn $RPM_BUILD_ROOT%{_mandir}/{man*/*,pl/man*/*} \
-       */README.* $RPM_BUILD_ROOT%{_infodir}/*
+gzip -9fn */README.*
 
 %find_lang %{name}
 
This page took 0.089755 seconds and 4 git commands to generate.