Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
2b0cd7cceb
commit
f478b960f2
@ -1,6 +1,6 @@
|
|||||||
Name: device-mapper-multipath
|
Name: device-mapper-multipath
|
||||||
Version: 0.8.4
|
Version: 0.8.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Tools to manage multipath devices using device-mapper
|
Summary: Tools to manage multipath devices using device-mapper
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
@ -160,11 +160,10 @@ cp %{SOURCE1} .
|
|||||||
%define _libdir /usr/%{_lib}
|
%define _libdir /usr/%{_lib}
|
||||||
%define _libmpathdir %{_libdir}/multipath
|
%define _libmpathdir %{_libdir}/multipath
|
||||||
%define _pkgconfdir %{_libdir}/pkgconfig
|
%define _pkgconfdir %{_libdir}/pkgconfig
|
||||||
make %{?_smp_mflags} LIB=%{_lib}
|
%make_build LIB=%{_lib}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install \
|
%make_install \
|
||||||
DESTDIR=%{buildroot} \
|
|
||||||
bindir=%{_sbindir} \
|
bindir=%{_sbindir} \
|
||||||
syslibdir=%{_libdir} \
|
syslibdir=%{_libdir} \
|
||||||
usrlibdir=%{_libdir} \
|
usrlibdir=%{_libdir} \
|
||||||
@ -264,6 +263,10 @@ fi
|
|||||||
%{_pkgconfdir}/libdmmp.pc
|
%{_pkgconfdir}/libdmmp.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.8.4-3
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Wed Jul 8 2020 Benjamin Marzinski <bmarzins@redhat.com> - 0.8.4-2
|
* Wed Jul 8 2020 Benjamin Marzinski <bmarzins@redhat.com> - 0.8.4-2
|
||||||
- Rebased on top of Martin Wilck's queue of ACKed upstream commits
|
- Rebased on top of Martin Wilck's queue of ACKed upstream commits
|
||||||
* https://github.com/openSUSE/multipath-tools/tree/upstream-queue
|
* https://github.com/openSUSE/multipath-tools/tree/upstream-queue
|
||||||
|
Loading…
Reference in New Issue
Block a user