Compare commits

...

4 Commits
master ... f33

Author SHA1 Message Date
Fedora Release Engineering 4d71c6d712 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 00:40:24 +00:00
Tomas Korbar c49a979391 Create symlink for guile2 manpage
Resolves: rhbz#1612696
2020-05-26 12:31:27 +02:00
Fedora Release Engineering 38319013d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 03:59:35 +00:00
Jeff Law 97af2cf21f - Fix configure tests compromised by LTO 2020-01-17 11:52:45 -07:00
2 changed files with 39 additions and 1 deletions

21
guile-configure.patch Normal file
View File

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

View File

@ -2,7 +2,7 @@ Summary: A GNU implementation of Scheme for application extensibility
Name: guile
%define mver 2.0
Version: 2.0.14
Release: 17%{?dist}
Release: 21%{?dist}
Epoch: 5
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.xz
URL: http://www.gnu.org/software/guile/
@ -18,6 +18,7 @@ Patch3: guile-threadstest.patch
# TODO: consider using: Requires.private: bdw-gc
Patch4: guile-2.0.14-gc_pkgconfig_private.patch
Patch5: guile-ieeetest.patch
Patch6: guile-configure.patch
%description
GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
@ -51,8 +52,10 @@ install the guile package.
%ifarch ppc64le
%patch5 -p1 -b .ieeetest
%endif
%patch6 -p1 -b .configure
%build
autoreconf -fiv
# The -O2 option in CFLAGS seems to cause the build to fail on
# some archs (bug #1675089)
@ -90,6 +93,7 @@ touch $RPM_BUILD_ROOT%{_datadir}/guile/site/%{mver}/slibcat
# Create symlinks for compatibility
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
# Adjust mtimes so they are all identical on all architectures.
@ -153,6 +157,7 @@ fi
%ghost %{_datadir}/guile/site/%{mver}/slibcat
%{_infodir}/*
%{_mandir}/man1/guile.1*
%{_mandir}/man1/guile2.1*
%files devel
%{_bindir}/guile-config
@ -163,6 +168,18 @@ fi
%{_includedir}/guile
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild