Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
90c5c23767
commit
2d849112f8
@ -1,7 +1,7 @@
|
|||||||
Summary: Library to control and monitor control groups
|
Summary: Library to control and monitor control groups
|
||||||
Name: libcgroup
|
Name: libcgroup
|
||||||
Version: 0.42.2
|
Version: 0.42.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libcg.sourceforge.net/
|
URL: http://libcg.sourceforge.net/
|
||||||
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz
|
||||||
@ -65,10 +65,10 @@ autoreconf -vif
|
|||||||
%configure --enable-pam-module-dir=%{_libdir}/security \
|
%configure --enable-pam-module-dir=%{_libdir}/security \
|
||||||
--enable-opaque-hierarchy="name=systemd" \
|
--enable-opaque-hierarchy="name=systemd" \
|
||||||
--disable-daemon
|
--disable-daemon
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
|
|
||||||
# install config files
|
# install config files
|
||||||
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}
|
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}
|
||||||
@ -158,6 +158,10 @@ getent group cgred >/dev/null || groupadd -r cgred
|
|||||||
%{_libdir}/pkgconfig/libcgroup.pc
|
%{_libdir}/pkgconfig/libcgroup.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.42.2-2
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Thu Feb 06 2020 Nikola Forró <nforro@redhat.com> - 0.42.2-1
|
* Thu Feb 06 2020 Nikola Forró <nforro@redhat.com> - 0.42.2-1
|
||||||
- resolves: #1798286
|
- resolves: #1798286
|
||||||
new upstream release 0.42.2
|
new upstream release 0.42.2
|
||||||
|
Loading…
Reference in New Issue
Block a user