SHA256
1
0
forked from pool/libhmac

always run autorecnof

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libhmac?expand=0&rev=9
This commit is contained in:
Jan Engelhardt 2022-04-25 08:20:03 +00:00 committed by Git OBS Bridge
parent ef38c6948e
commit be03dde29e

View File

@ -54,13 +54,13 @@ A library to support various Hash-based Message Authentication Codes (HMAC).
%package devel
Summary: Development files for libhmac
Group: Development/Libraries/C and C++
Requires: %lname = %{version}
Requires: %lname = %version
%description devel
Development files for libhmac, a library to support various Hash-based Message Authentication Codes (HMAC).
This subpackage contains libraries and header files for developing
applications that want to make use of %{name}.
applications that want to make use of %name.
%package tools
Summary: Utilities for HMACs
@ -73,29 +73,29 @@ Use hmacsum to calculate a Hash-based Message Authentication Code (HMAC) of the
%autosetup -p1
%build
if [ ! -e configure ]; then ./autogen.sh; fi
autoreconf -fi
%configure --disable-static --enable-wide-character-type
%make_build
%install
%make_install
rm -f "%{buildroot}/%{_libdir}"/*.la
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%license COPYING*
%{_libdir}/libhmac.so.1*
%_libdir/libhmac.so.1*
%files devel
%{_includedir}/libhmac*
%{_libdir}/libhmac.so
%{_libdir}/pkgconfig/libhmac.pc
%{_mandir}/man3/libhmac.3*
%_includedir/libhmac*
%_libdir/libhmac.so
%_libdir/pkgconfig/libhmac.pc
%_mandir/man3/libhmac.3*
%files tools
%{_bindir}/hmacsum
%{_mandir}/man1/hmacsum.1*
%_bindir/hmacsum
%_mandir/man1/hmacsum.1*
%changelog