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-*.tgz
|
||||||
/mksh_40.9.20120630.orig.tar.gz
|
|
||||||
/mksh-R41.tgz
|
|
||||||
|
18
mksh.spec
18
mksh.spec
@ -1,8 +1,8 @@
|
|||||||
%define _bindir /bin
|
%define _bindir /bin
|
||||||
Summary: MirBSD enhanced version of the Korn Shell
|
Summary: MirBSD enhanced version of the Korn Shell
|
||||||
Name: mksh
|
Name: mksh
|
||||||
Version: 41
|
Version: 44
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
# BSD (setmode.c), ISC (strlcpy.c), MirOS (the rest)
|
# BSD (setmode.c), ISC (strlcpy.c), MirOS (the rest)
|
||||||
License: MirOS and ISC and BSD
|
License: MirOS and ISC and BSD
|
||||||
Group: System Environment/Shells
|
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.
|
bourne shell replacement, pdksh successor and an alternative to the C shell.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#%setup -q -T -c
|
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
|
|
||||||
# we'll need this later due to -DMKSH_GCC55009
|
# we'll need this later due to -DMKSH_GCC55009
|
||||||
@ -52,9 +51,19 @@ print -r -- $((x++)):$sari=$uari.
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
%build
|
%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
|
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL -DMKSH_GCC55009" sh Build.sh -r -c lto
|
||||||
|
%endif
|
||||||
cp test.sh test_mksh.sh
|
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
|
CFLAGS="$RPM_OPT_FLAGS -DMKSH_DISABLE_EXPERIMENTAL -DMKSH_GCC55009" sh Build.sh -L -r -c lto
|
||||||
|
%endif
|
||||||
cp test.sh test_lksh.sh
|
cp test.sh test_lksh.sh
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -110,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/lksh.1*
|
%{_mandir}/man1/lksh.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 41-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user