fix dependencies by disabling custom dependency generators [release 2.2.4-2mamba;Tue Aug 28 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 04:33:36 +01:00
parent ec79d22d35
commit 58592293c4

View File

@ -1,7 +1,7 @@
%define majversion %(echo %version | cut -d. -f 1-2)
Name: libguile
Version: 2.0.14
Release: 1mamba
Version: 2.2.4
Release: 2mamba
Summary: A GNU implementation of Scheme for application extensibility
Group: Development/Applications
Vendor: openmamba
@ -52,10 +52,26 @@ You'll also need to install the guile package.
%prep
%setup -q -n guile-%{version}
#-D -T
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/guile-%{version}/find_provides.sh
cat > %{_builddir}/guile-%{version}/find_provides.sh <<_EOF
#! /bin/sh
grep -v \.go\$ | \
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
_EOF
chmod +x %{_builddir}/guile-%{version}/find_provides.sh
%define __find_requires %{_builddir}/guile-%{version}/find_requires.sh
cat > %{_builddir}/guile-%{version}/find_requires.sh <<_EOF
#! /bin/sh
grep -v %{buildroot}%{_libdir}/guile/%{majversion}/ccache/ice-9 | \
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null
_EOF
chmod +x %{_builddir}/guile-%{version}/find_requires.sh
%build
#:<< _EOF
%configure \
--with-threads \
--disable-static \
@ -139,14 +155,15 @@ fi
%{_bindir}/guild
%{_bindir}/guile
%{_bindir}/guile-tools
%{_libdir}/libguile-2.0.so.*
%{_libdir}/libguile-%{majversion}.so.*
%dir %{_libdir}/guile
%dir %{_libdir}/guile/2.0
%dir %{_libdir}/guile/2.0/ccache
%{_libdir}/guile/2.0/ccache/*
#%{_libdir}/libguile-srfi-srfi-*.so.*
#%{_libdir}/libguile-srfi-srfi-*.so
%{_libdir}/libguilereadline-v-18.so.*
%dir %{_libdir}/guile/%{majversion}
%dir %{_libdir}/guile/%{majversion}/ccache
%{_libdir}/guile/%{majversion}/ccache/*
%dir %{_libdir}/guile/%{majversion}/extensions
%{_libdir}/guile/%{majversion}/extensions/guile-readline.la
%{_libdir}/guile/%{majversion}/extensions/guile-readline.so
%{_libdir}/guile/%{majversion}/extensions/guile-readline.so.*
%dir %{_datadir}/guile
%dir %{_datadir}/guile/%{majversion}
%{_datadir}/guile/%{majversion}/*
@ -162,24 +179,24 @@ fi
%{_bindir}/guile-config
%{_bindir}/guile-snarf
%dir %{_includedir}/guile
%dir %{_includedir}/guile/2.0
%{_includedir}/guile/2.0/*.h
%dir %{_includedir}/guile/2.0/libguile
%{_includedir}/guile/2.0/libguile/*.h
#%{_libdir}/libguile-2.0.a
%{_libdir}/libguile-2.0.la
%{_libdir}/libguile-2.0.so
#%{_libdir}/libguile-srfi-srfi-*.a
#%{_libdir}/libguile-srfi-srfi-*.la
#%{_libdir}/libguilereadline-v-18.a
%{_libdir}/libguilereadline-v-18.la
%{_libdir}/libguilereadline-v-18.so
%dir %{_includedir}/guile/%{majversion}
%{_includedir}/guile/%{majversion}/*.h
%dir %{_includedir}/guile/%{majversion}/libguile
%{_includedir}/guile/%{majversion}/libguile/*.h
%{_libdir}/libguile-%{majversion}.la
%{_libdir}/libguile-%{majversion}.so
%{_libdir}/pkgconfig/guile-%{majversion}.pc
%{_datadir}/aclocal/*
%{_infodir}/*
#%doc ChangeLog GUILE-VERSION HACKING NEWS.bz2 README
%changelog
* Tue Aug 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.4-2mamba
- fix dependencies by disabling custom dependency generators
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
- automatic version update by autodist
* Fri Mar 03 2017 Automatic Build System <autodist@mambasoft.it> 2.0.14-1mamba
- automatic version update by autodist