update to 4.4 [release 4.4-1mamba;Fri Sep 16 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 20:45:32 +01:00
parent 400c5595da
commit fa6d7c0208
2 changed files with 27 additions and 3 deletions

View File

@ -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

View File

@ -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 <silvan.calarco@mambasoft.it> 4.4-1mamba
- update to 4.4
* Tue Jul 05 2016 Automatic Build System <autodist@mambasoft.it> 4.3.046-1mamba
- automatic version update by autodist