SHA256
1
0
forked from pool/libtomcrypt

Accepting request 628106 from home:jengelh:branches:security

- Expand summary of libtomcrypt1.
- Use %make_install.

OBS-URL: https://build.opensuse.org/request/show/628106
OBS-URL: https://build.opensuse.org/package/show/security/libtomcrypt?expand=0&rev=15
This commit is contained in:
Marcus Meissner 2018-08-15 19:18:55 +00:00 committed by Git OBS Bridge
parent 0802aa73a0
commit 89d6074aa8
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 8 13:14:47 UTC 2018 - jengelh@inai.de
- Expand summary of libtomcrypt1.
- Use %make_install.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 26 19:40:32 UTC 2018 - jengelh@inai.de Thu Jul 26 19:40:32 UTC 2018 - jengelh@inai.de

View File

@ -42,7 +42,7 @@ block ciphers, one-way hash functions, chaining modes, pseudo-random number
generators, public key cryptography and a plethora of other routines. generators, public key cryptography and a plethora of other routines.
%package -n %{soname} %package -n %{soname}
Summary: Libraries for %{name} Summary: Cryptographic toolkit with ciphers, hashes, PRNG and PKI
Group: System/Libraries Group: System/Libraries
%description -n %{soname} %description -n %{soname}
@ -91,7 +91,7 @@ export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM"
make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared
%install %install
make DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 PREFIX=%{_prefix} -f makefile.shared install %make_install -f makefile.shared DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 PREFIX=%{_prefix}
# Remove static libraries (It's upstream bug in makefile.shared I think.) # Remove static libraries (It's upstream bug in makefile.shared I think.)
rm %{buildroot}%{_libdir}/*.a rm %{buildroot}%{_libdir}/*.a
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print