Use make_build and make_install macros in the spec

This commit is contained in:
Martin Preisler 2016-11-28 15:02:11 -05:00
parent d086af74a5
commit fdb3a02a45

View File

@ -1,6 +1,6 @@
Name: scap-security-guide
Version: 0.1.31
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Security guidance and baselines in SCAP formats
Group: Applications/System
License: Public Domain
@ -41,10 +41,10 @@ present in %{name} package.
%setup -q
%build
make %{?_smp_mflags} dist
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
%files
%{_datadir}/scap/ssg
@ -60,6 +60,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%doc %{_docdir}/%{name}/tables/*.{,x}html
%changelog
* Mon Nov 28 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.31-2
- use make_build and make_install RPM macros
* Mon Nov 28 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.31-1
- update to the latest upstream release
- new default location for content /usr/share/scap/ssg