Use %make_build and %make_install macros

This commit is contained in:
Timm Bäder 2021-09-13 12:17:42 +02:00
parent e4e6d9150f
commit f54b557363

View File

@ -1,7 +1,7 @@
Name: sblim-cmpi-devel
Version: 2.0.3
Release: 23%{?dist}
Release: 24%{?dist}
Summary: SBLIM CMPI Provider Development Support
License: EPL
@ -37,11 +37,10 @@ This packages provides the C++ wrapper library for CMPI development
%build
%configure
make %{?_smp_mflags}
%make_build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
# remove unused libtool files
rm -f $RPM_BUILD_ROOT/%{_libdir}/*a
# install macro definitions
@ -59,6 +58,9 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
%{_libdir}/libcmpiCppImpl.so*
%changelog
* Mon Sep 13 2021 Timm Bäder <tbaeder@redhat.com> - 2.0.3.24
- Use %%make_build and %%make_install macros
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild