|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libtomcrypt
|
|
|
|
|
Version: 1.17
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: a comprehensive, portable cryptographic toolkit
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: Public Domain
|
|
|
|
@ -43,8 +43,18 @@ developing applications that use %{name}.
|
|
|
|
|
# no configure script ships with libtomcrypt. Its only requirement is
|
|
|
|
|
# ANSI C. And libtommath. Explicitly force it to be built against libtommath
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DLTM_DESC -I%{_includedir}/tommath"
|
|
|
|
|
make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared
|
|
|
|
|
make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile docs
|
|
|
|
|
make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared || :
|
|
|
|
|
for i in '/tmp/cc*.out'
|
|
|
|
|
do
|
|
|
|
|
echo $i
|
|
|
|
|
wc -l $i
|
|
|
|
|
cat $i
|
|
|
|
|
done
|
|
|
|
|
%ifarch ppc64
|
|
|
|
|
exit 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|