From fa6d7c0208059fda9724a2be032bf023e811c5fe Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:45:32 +0100 Subject: [PATCH] update to 4.4 [release 4.4-1mamba;Fri Sep 16 2016] --- bash-autoupdate | 2 +- bash.spec | 28 ++++++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/bash-autoupdate b/bash-autoupdate index 32c4a02..ca8349d 100644 --- a/bash-autoupdate +++ b/bash-autoupdate @@ -18,7 +18,7 @@ mkdir bash-patchset-$BASH_PATCHVERSION cd bash-patchset-$BASH_PATCHVERSION for f in `seq 1 $BASH_PATCHVER`; do BASH_PATCHVER_FORMATTED=`printf "%03d" $f` - wget -r -N -l 1 -np -nd -A "bash*" ftp://ftp.gnu.org/pub/gnu/bash/bash-$BASH_MAJVER-patches/bash${BASH_MAJVER_NODOT}-${BASH_PATCHVER_FORMATTED} || exit 1 + wget -r -N -l 1 -np -nd -A "bash*" ftp://ftp.gnu.org/pub/gnu/bash/bash-$BASH_MAJVER-patches/bash${BASH_MAJVER_NODOT}-${BASH_PATCHVER_FORMATTED} done cd .. tar -cz bash-patchset-$BASH_PATCHVERSION > bash-patchset-$BASH_PATCHVERSION.tar.gz diff --git a/bash.spec b/bash.spec index 570758e..e9b58c1 100644 --- a/bash.spec +++ b/bash.spec @@ -2,7 +2,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: bash -Version: 4.3.046 +Version: 4.4 Release: 1mamba Summary: The GNU Bourne Again shell (bash) Group: Applications/Shells @@ -57,6 +57,14 @@ The improvements offered by BASH include: * Indexed arrays of unlimited size * Integer arithmetic in any base from two to sixty-four +%package devel +Summary: Development files for the GNU Bourne Again shell (bash) +Group: Documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package provides development headers for the GNU Bourne Again shell (bash). + %package doc Summary: Documentation for the GNU Bourne Again shell (bash) Group: Documentation @@ -75,7 +83,7 @@ This package includes doc guide examples and manual for bash. %setup -q -n %{name}-%{majver} -a1 #%patch0 -p1 -b .bash-requires for f in bash-patchset-%{version}/*; do - patch -p0 < $f + [ -e $f ] && patch -p0 < $f done %if "%{_host}" != "%{_build}" @@ -91,6 +99,7 @@ case %{_host_cpu} in ppc|powerpc) install %{S:5} config.cache ;; esac %configure \ -C --with-bash-malloc=no \ --bindir=/bin \ + --libdir=%{_prefix}/lib \ --with-curses \ %if "%{_host}" != "%{_build}" bash_cv_job_control_missing=present @@ -150,12 +159,24 @@ exit 0 /bin/bashbug #/bin/sh %{_sysconfdir}/skel/.b* +%dir %{_prefix}/lib/bash +%{_prefix}/lib/bash/* %{_infodir}/bash.info* %{_mandir}/man1/bash.* %{_mandir}/man1/bashbug.* %{_mandir}/man1/builtins.* #%{_mandir}/man1/sh.* +%files devel +%defattr(-,root,root) +%dir %{_includedir}/bash +%{_includedir}/bash/*.h +%dir %{_includedir}/bash/builtins +%{_includedir}/bash/builtins/*.h +%dir %{_includedir}/bash/include +%{_includedir}/bash/include/*.h +%{_prefix}/lib/pkgconfig/bash.pc + %files doc %defattr(-,root,root) %doc doc/FAQ doc/INTRO doc/README @@ -164,6 +185,9 @@ exit 0 %{_docdir}/bash/* %changelog +* Fri Sep 16 2016 Silvan Calarco 4.4-1mamba +- update to 4.4 + * Tue Jul 05 2016 Automatic Build System 4.3.046-1mamba - automatic version update by autodist