adapt to new Fedora cmake rpm macros

This commit is contained in:
Gary Buhrmaster 2020-07-29 16:12:22 +00:00
parent 84d64b4d32
commit c49d421cbf

View File

@ -1,7 +1,7 @@
Name: libfido2 Name: libfido2
Version: 1.4.0 Version: 1.4.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: FIDO2 library Summary: FIDO2 library
License: BSD License: BSD
@ -57,14 +57,12 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%build %build
mkdir build %cmake
cd build %cmake_build
%cmake ..
%make_build
%install %install
%make_install -C build %cmake_install
# Remove static files per packaging guidelines # Remove static files per packaging guidelines
find %{buildroot} -type f -name "*.a" -delete -print find %{buildroot} -type f -name "*.a" -delete -print
@ -86,10 +84,12 @@ find %{buildroot} -type f -name "*.a" -delete -print
%changelog %changelog
* Wed Jul 29 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.4.0-3
- adapt to new Fedora cmake rpm macros
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Apr 15 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.4.0-1 * Wed Apr 15 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.4.0-1
- 1.4.0 release (#1824326) - 1.4.0 release (#1824326)