]> git.pld-linux.org Git - packages/bison.git/commitdiff
- updated to 1.28,
authorkloczek <kloczek@pld-linux.org>
Wed, 7 Jul 1999 12:51:43 +0000 (12:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- more rpm macros.

Changed files:
    bison.spec -> 1.19

bison.spec

index 6d8100415d1f5a8a7011a2371c29b7e4425ad5ae..5dd5b2c7fe7ec0d95f5b00940bda2b95c117dad5 100644 (file)
@@ -4,8 +4,8 @@ Summary(fr):    G
 Summary(pl):   GNU generator sk³adni 
 Summary(tr):   GNU ayrýþtýrýcý üreticisi
 Name:          bison
-Version:       1.27
-Release:       4
+Version:       1.28
+Release:       1
 Copyright:     GPL
 Group:         Development/Tools
 Group(pl):     Programowanie/Narzêdzia
@@ -17,6 +17,8 @@ Prereq:               /sbin/install-info
 Buildroot:     /tmp/%{name}-%{version}-root
 Obsoletes:     yacc
 
+%define                _datadir        /usr/share/misc
+
 %description
 This is the GNU parser generator which is mostly compatible with yacc. Many
 programs use this as part of their build process. Bison is only needed on
@@ -49,27 +51,19 @@ s
 %patch1 -p1
 
 %build
-aclocal && autoconf
-    %configure --datadir=%{_datadir}/bison 
+LDFLAGS="-s"; export LDFLAGS
+%configure
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
 
-make \
-    prefix=$RPM_BUILD_ROOT%{_prefix} \
-    datadir=$RPM_BUILD_ROOT%{_datadir}/bison \
-    bindir=$RPM_BUILD_ROOT%{_bindir} \
-    mandir=$RPM_BUILD_ROOT%{_mandir} \
-    infodir=$RPM_BUILD_ROOT%{_infodir} \
-    install
-
-strip $RPM_BUILD_ROOT%{_bindir}/*
+make install DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
 
-gzip -9nf $RPM_BUILD_ROOT%{_datadir}/{info/*,man/{man1/*,pl/man1/*}}
+gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*,%{_mandir}/{man1/*,pl/man1/*}}
 
 %post
 /sbin/install-info %{_infodir}/bison.info.gz /etc/info-dir
@@ -90,9 +84,13 @@ rm -rf $RPM_BUILD_ROOT
 %lang(pl) %{_mandir}/pl/man1/*
 %{_mandir}/man1/*
 %{_infodir}/*info*
-%{_datadir}/bison
+%{_datadir}/*
 
 %changelog
+* Wed Jul  7 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.28-1]
+- more rpm macros.
+
 * Tue Jun 01 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
 -  FHS 2.0
 
This page took 0.097822 seconds and 4 git commands to generate.