]> git.pld-linux.org Git - packages/byacc.git/commitdiff
- release 18: make spec %%{debug} ready and yse rpm new automation suit. byacc-1_9-18
authorkloczek <kloczek@pld-linux.org>
Tue, 3 Oct 2000 06:16:42 +0000 (06:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    byacc.spec -> 1.20

byacc.spec

index 26f636b1950eb6c9b452b46f6fd7e2509212d814..e3aaf50870f035b196a8bfff22314e9eb6cd8bbc 100644 (file)
@@ -5,9 +5,10 @@ Summary(pl):   Generator analizatora sk
 Summary(tr):   Ayrýþtýrýcý üreteci
 Name:          byacc
 Version:       1.9
-Release:       17
+Release:       18
 License:       public domain
 Group:         Development/Tools
+Group(de):     Entwicklung/Werkzeuge
 Group(fr):     Development/Outils
 Group(pl):     Programowanie/Narzêdzia
 Source0:       ftp://ftp.cs.berkeley.edu/ucb/4bsd/%{name}.%{version}.tar.Z
@@ -49,7 +50,9 @@ s
 chmod -R u+Xw .
 
 %build
-%{__make} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"
+%{__make} \
+       CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
+       LDFLAGS="%{?debug:-s}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -61,8 +64,6 @@ install yacc.1 $RPM_BUILD_ROOT%{_mandir}/man1
 ln -sf yacc $RPM_BUILD_ROOT%{_bindir}/byacc
 echo ".so yacc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/byacc.1
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.024394 seconds and 4 git commands to generate.