]> git.pld-linux.org Git - packages/bash.git/commitdiff
- release 3, bash-2_05-3
authorkloczek <kloczek@pld-linux.org>
Sat, 21 Apr 2001 07:20:33 +0000 (07:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added DESTDIR patch and DESTDIR style %install,
- merge sighup and rlimit_locks patches fron Conectiva.

Changed files:
    bash.spec -> 1.70

bash.spec

index 7ecfeed3ff237df53fd819659fad33614ab472b7..dc164bac4aec5ac9d21653d40bb67cc8419a6d6e 100644 (file)
--- a/bash.spec
+++ b/bash.spec
@@ -5,7 +5,7 @@ Summary(pl):    GNU Bourne Again Shell (bash)
 Summary(tr):   GNU Bourne Again Shell (bash)
 Name:          bash
 Version:       2.05
-Release:       2
+Release:       3
 License:       GPL
 Group:         Applications/Shells
 Group(de):     Applikationen/Shells
@@ -24,6 +24,9 @@ Patch5:               %{name}-requires.patch
 Patch6:                %{name}-compat.patch
 Patch7:                %{name}-shellfunc.patch
 Patch8:                http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/bash-2.05-ipv6-20010418.patch.gz
+Patch9:                %{name}-DESTDIR.patch
+Patch10:       %{name}-rlimit_locks.patch
+Patch11:       %{name}-sighup.patch
 BuildRequires: ncurses-static >= 5.2
 BuildRequires: readline-static >= 4.2
 BuildRequires: glibc-static >= 2.2
@@ -130,6 +133,9 @@ tym pakiecie jest statycznie zlinkowany bash.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
 
 echo %{version} > _distribution
 echo %{release} > _patchlevel
@@ -150,17 +156,16 @@ for mode in static shared; do
        `[ "$mode" = "static" ] && echo "--enable-static-link"` \
        --with-installed-readline
 
-%{__make}
+%{__make} DEFS="-DHAVE_CONFIG_H -D_GNU_SOURCE"
 
 [ "$mode" = "static" ] && mv -f bash bash.static || :
 done
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_mandir},%{_infodir}} \
-       $RPM_BUILD_ROOT/{bin,etc/skel}
+install -d $RPM_BUILD_ROOT/{bin,etc/skel}
 
-%{makeinstall}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 mv -f $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
 install        bash.static $RPM_BUILD_ROOT/bin
This page took 0.201911 seconds and 4 git commands to generate.