Fix shared object name

epel9
Simone Caronni 9 years ago
parent ee3b19cc3e
commit ab5f34d7fc

@ -3,7 +3,7 @@
Name: libtomcrypt
Version: 1.17
Release: 27%{?dist}
Release: 28%{?dist}
Summary: A comprehensive, portable cryptographic toolkit
License: Public Domain
URL: http://www.libtom.org/
@ -67,6 +67,10 @@ sed -i \
# Remove spurious permissions
find . -name '*.c' -exec chmod 644 {} \;
# To be removed once it's fixed. See comments at:
# https://github.com/libtom/libtomcrypt/commit/14272976d0615b546e9e0215ec4e2f01854a2dc9
sed -i -e 's/ -release $(RELEASE)//g' makefile.shared
%build
export CFLAGS="%{optflags} -DLTM_DESC"
make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared
@ -111,6 +115,10 @@ find %{buildroot} -name '*.h' -exec chmod 644 {} \;
%doc doc/crypt.pdf
%changelog
* Tue Feb 23 2016 Simone Caronni <negativo17@gmail.com> - 1.17-28
- Fix shared object name:
https://github.com/libtom/libtomcrypt/commit/14272976d0615b546e9e0215ec4e2f01854a2dc9
* Tue Feb 23 2016 Simone Caronni <negativo17@gmail.com> - 1.17-27
- Fix FTBFS (#1307740).
- Update sources, requires libtommath 1.x, drop upstreamed patches.

Loading…
Cancel
Save