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