Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
412c6caad3
commit
4314d8d983
10
libksba.spec
10
libksba.spec
@ -1,7 +1,7 @@
|
||||
Summary: CMS and X.509 library
|
||||
Name: libksba
|
||||
Version: 1.3.5
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
|
||||
# The library is licensed under LGPLv3+ or GPLv2+,
|
||||
# the rest of the package under GPLv3+
|
||||
@ -40,13 +40,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
--disable-dependency-tracking \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
||||
@ -72,6 +72,10 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.3.5-12
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user