Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Fedora Release Engineering | 4d71c6d712 | |
Tomas Korbar | c49a979391 | |
Fedora Release Engineering | 38319013d8 | |
Jeff Law | 97af2cf21f |
|
@ -0,0 +1,21 @@
|
||||||
|
diff -Nrup a/m4/mathfunc.m4 b/m4/mathfunc.m4
|
||||||
|
--- a/m4/mathfunc.m4 2016-12-14 17:03:33.000000000 -0700
|
||||||
|
+++ b/m4/mathfunc.m4 2020-01-06 19:48:46.684158282 -0700
|
||||||
|
@@ -60,7 +60,7 @@ AC_DEFUN([gl_MATHFUNC],
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
$4
|
||||||
|
- $2 (*funcptr) $3 = ]func[;
|
||||||
|
+ __attribute__ ((used)) $2 (*funcptr) $3 = ]func[;
|
||||||
|
int i_ret;
|
||||||
|
float f_ret;
|
||||||
|
double d_ret;
|
||||||
|
@@ -85,7 +85,7 @@ AC_DEFUN([gl_MATHFUNC],
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
$4
|
||||||
|
- $2 (*funcptr) $3 = ]func[;
|
||||||
|
+ __attribute__ ((used)) $2 (*funcptr) $3 = ]func[;
|
||||||
|
int i_ret;
|
||||||
|
float f_ret;
|
||||||
|
double d_ret;
|
19
guile.spec
19
guile.spec
|
@ -2,7 +2,7 @@ Summary: A GNU implementation of Scheme for application extensibility
|
||||||
Name: guile
|
Name: guile
|
||||||
%define mver 2.0
|
%define mver 2.0
|
||||||
Version: 2.0.14
|
Version: 2.0.14
|
||||||
Release: 17%{?dist}
|
Release: 21%{?dist}
|
||||||
Epoch: 5
|
Epoch: 5
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.xz
|
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.xz
|
||||||
URL: http://www.gnu.org/software/guile/
|
URL: http://www.gnu.org/software/guile/
|
||||||
|
@ -18,6 +18,7 @@ Patch3: guile-threadstest.patch
|
||||||
# TODO: consider using: Requires.private: bdw-gc
|
# TODO: consider using: Requires.private: bdw-gc
|
||||||
Patch4: guile-2.0.14-gc_pkgconfig_private.patch
|
Patch4: guile-2.0.14-gc_pkgconfig_private.patch
|
||||||
Patch5: guile-ieeetest.patch
|
Patch5: guile-ieeetest.patch
|
||||||
|
Patch6: guile-configure.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
|
GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
|
||||||
|
@ -51,8 +52,10 @@ install the guile package.
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
%patch5 -p1 -b .ieeetest
|
%patch5 -p1 -b .ieeetest
|
||||||
%endif
|
%endif
|
||||||
|
%patch6 -p1 -b .configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
|
|
||||||
# The -O2 option in CFLAGS seems to cause the build to fail on
|
# The -O2 option in CFLAGS seems to cause the build to fail on
|
||||||
# some archs (bug #1675089)
|
# some archs (bug #1675089)
|
||||||
|
@ -90,6 +93,7 @@ touch $RPM_BUILD_ROOT%{_datadir}/guile/site/%{mver}/slibcat
|
||||||
|
|
||||||
# Create symlinks for compatibility
|
# Create symlinks for compatibility
|
||||||
ln -s guile $RPM_BUILD_ROOT%{_bindir}/guile2
|
ln -s guile $RPM_BUILD_ROOT%{_bindir}/guile2
|
||||||
|
ln -s %{_mandir}/man1/guile.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/guile2.1.gz
|
||||||
ln -s guile-tools $RPM_BUILD_ROOT%{_bindir}/guile2-tools
|
ln -s guile-tools $RPM_BUILD_ROOT%{_bindir}/guile2-tools
|
||||||
|
|
||||||
# Adjust mtimes so they are all identical on all architectures.
|
# Adjust mtimes so they are all identical on all architectures.
|
||||||
|
@ -153,6 +157,7 @@ fi
|
||||||
%ghost %{_datadir}/guile/site/%{mver}/slibcat
|
%ghost %{_datadir}/guile/site/%{mver}/slibcat
|
||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
%{_mandir}/man1/guile.1*
|
%{_mandir}/man1/guile.1*
|
||||||
|
%{_mandir}/man1/guile2.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/guile-config
|
%{_bindir}/guile-config
|
||||||
|
@ -163,6 +168,18 @@ fi
|
||||||
%{_includedir}/guile
|
%{_includedir}/guile
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5:2.0.14-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Tomas Korbar <tkorbar@redhat.com> - 5:2.0.14-20
|
||||||
|
- Create symlink for guile2 manpage (#1612696)
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5:2.0.14-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 17 2020 Jeff Law <law@redhat.com> - 5:2.0.14-18
|
||||||
|
- Fix configure tests compromised by LTO
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5:2.0.14-17
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5:2.0.14-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue