Use make_install macro
This commit is contained in:
parent
2b27194d9a
commit
5a77206c1c
7
sid.spec
7
sid.spec
@ -14,7 +14,7 @@ Name: sid
|
||||
Epoch: %{rhel}
|
||||
%endif
|
||||
Version: 0.0.5
|
||||
Release: 1%{?scmsnap:.%{scmsnap}}%{?dist}
|
||||
Release: 2%{?scmsnap:.%{scmsnap}}%{?dist}
|
||||
Summary: Storage Instantiation Daemon (SID)
|
||||
|
||||
License: GPLv2+
|
||||
@ -72,7 +72,7 @@ of devices and their layers in the stack.
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
rm -f %{buildroot}/%{_libdir}/sid/*.{a,la}
|
||||
rm -f %{buildroot}/%{_libdir}/sid/modules/ucmd/block/*.{a,la}
|
||||
rm -f %{buildroot}/%{_libdir}/sid/modules/ucmd/type/*.{a,la}
|
||||
@ -388,6 +388,9 @@ Daemon (SID).
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 14 2021 Timm Bäder <tbaeder@redhat.com> - 0.0.5-2
|
||||
- Use make_install macro
|
||||
|
||||
* Tue Apr 06 2021 Peter Rajnoha <prajnoha@redhat.com> - 0.0.5-1
|
||||
- Update to latest upstream release.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user