Upgrade to 44 and work around bug in GCC 4.8 (#922974)
This commit is contained in:
parent
30780efef2
commit
968f662d42
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1 @@
|
||||
mksh-R40d.cpio.gz
|
||||
/mksh_40.9.20120630.orig.tar.gz
|
||||
/mksh-R41.tgz
|
||||
mksh-*.tgz
|
||||
|
18
mksh.spec
18
mksh.spec
@ -1,8 +1,8 @@
|
||||
%define _bindir /bin
|
||||
Summary: MirBSD enhanced version of the Korn Shell
|
||||
Name: mksh
|
||||
Version: 41
|
||||
Release: 2%{?dist}
|
||||
Version: 44
|
||||
Release: 1%{?dist}
|
||||
# BSD (setmode.c), ISC (strlcpy.c), MirOS (the rest)
|
||||
License: MirOS and ISC and BSD
|
||||
Group: System Environment/Shells
|
||||
@ -24,7 +24,6 @@ modern, robust shell good for interactive and especially script use, being a
|
||||
bourne shell replacement, pdksh successor and an alternative to the C shell.
|
||||
|
||||
%prep
|
||||
#%setup -q -T -c
|
||||
%setup -q -n %{name}
|
||||
|
||||
# we'll need this later due to -DMKSH_GCC55009
|
||||
@ -52,9 +51,19 @@ print -r -- $((x++)):$sari=$uari.
|
||||
EOF
|
||||
|
||||
%build
|
||||
# Work around RHBZ #922974 on Fedora 19 and later
|
||||
%if 0%{?fedora} >= 19
|
||||
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL -DMKSH_GCC55009" sh Build.sh -r
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL -DMKSH_GCC55009" sh Build.sh -r -c lto
|
||||
%endif
|
||||
cp test.sh test_mksh.sh
|
||||
# Work around RHBZ #922974 on Fedora 19 and later
|
||||
%if 0%{?fedora} >= 19
|
||||
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL -DMKSH_GCC55009" sh Build.sh -L -r
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL -DMKSH_GCC55009" sh Build.sh -L -r -c lto
|
||||
%endif
|
||||
cp test.sh test_lksh.sh
|
||||
|
||||
%install
|
||||
@ -110,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/lksh.1*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 18 2013 Robert Scheck <robert@fedoraproject.org> 44-1
|
||||
- Upgrade to 44 and work around bug in GCC 4.8 (#922974)
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 41-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user