Accepting request 257920 from home:aljex:branches:Base:System

Allow building on targets older than OS 11.0 as long as it's free. This allows building on SL 10.1 to current with no other changes. This is useful for production machines to get "shellshock" patches.

OBS-URL: https://build.opensuse.org/request/show/257920
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=184
This commit is contained in:
Dr. Werner Fink 2014-10-22 12:34:09 +00:00 committed by Git OBS Bridge
parent 94c4c2234b
commit aa5d608944
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 21 21:18:20 UTC 2014 - brian@aljex.com
- Allow building on targets from SL 10.1 to current since it's free
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 6 08:07:48 UTC 2014 - werner@suse.de Mon Oct 6 08:07:48 UTC 2014 - werner@suse.de

View File

@ -146,7 +146,7 @@ Requires: bash = %{version}
Provides translations to the package bash Provides translations to the package bash
%endif %endif
%if 0%suse_version >= 1100 %if 0%suse_version >= 1020
%package -n bash-devel %package -n bash-devel
Summary: Include Files mandatory for Development of bash loadable builtins Summary: Include Files mandatory for Development of bash loadable builtins
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
@ -380,7 +380,7 @@ done
MACHTYPE=${CPU}-suse-linux MACHTYPE=${CPU}-suse-linux
export LANG LC_ALL HOSTTYPE MACHTYPE export LANG LC_ALL HOSTTYPE MACHTYPE
pushd ../readline-%{rl_vers}%{extend} pushd ../readline-%{rl_vers}%{extend}
%if 0%suse_version >= 1100 %if 0%suse_version >= 1020
autoconf autoconf
%endif %endif
cflags () cflags ()
@ -482,7 +482,7 @@ popd
CC_FOR_BUILD="$CC" CC_FOR_BUILD="$CC"
CFLAGS_FOR_BUILD="$CFLAGS" CFLAGS_FOR_BUILD="$CFLAGS"
export CC_FOR_BUILD CFLAGS_FOR_BUILD CFLAGS LDFLAGS CC export CC_FOR_BUILD CFLAGS_FOR_BUILD CFLAGS LDFLAGS CC
%if 0%suse_version >= 1100 %if 0%suse_version >= 1020
autoconf autoconf
%endif %endif
# #
@ -689,7 +689,7 @@ ldd -u -r %{buildroot}/%{_lib}/libreadline.so.* || true
%doc %{_mandir}/man1/rbash.1.gz %doc %{_mandir}/man1/rbash.1.gz
%doc %{_defaultdocdir}/bash/ %doc %{_defaultdocdir}/bash/
%if 0%suse_version >= 1100 %if 0%suse_version >= 1020
%files -n bash-devel %files -n bash-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir /%{_includedir}/bash/ %dir /%{_includedir}/bash/