Use make macros

This commit is contained in:
Jan Synacek 2020-08-24 12:51:05 +02:00
parent d8f585c5d6
commit 086aac487d

View File

@ -2,7 +2,7 @@
Name: numad Name: numad
Version: 0.5 Version: 0.5
Release: 32.20150602git%{?dist} Release: 33.20150602git%{?dist}
Summary: NUMA user daemon Summary: NUMA user daemon
License: LGPLv2 License: LGPLv2
@ -41,7 +41,7 @@ mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_mandir}/man8/ mkdir -p %{buildroot}%{_mandir}/man8/
install -p -m 644 numad.service %{buildroot}%{_unitdir}/ install -p -m 644 numad.service %{buildroot}%{_unitdir}/
install -p -m 644 numad.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name} install -p -m 644 numad.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
make install prefix=%{buildroot}/usr %make_install prefix=%{buildroot}/usr
%files %files
%{_bindir}/numad %{_bindir}/numad
@ -59,6 +59,10 @@ make install prefix=%{buildroot}/usr
%systemd_postun numad.service %systemd_postun numad.service
%changelog %changelog
* Mon Aug 24 2020 Jan Synáček <jsynacek@redhat.com> - 0.5-33.20150602git
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-32.20150602git * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-32.20150602git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild