Use make_build and make_install macros in the spec
This commit is contained in:
parent
d086af74a5
commit
fdb3a02a45
@ -1,6 +1,6 @@
|
|||||||
Name: scap-security-guide
|
Name: scap-security-guide
|
||||||
Version: 0.1.31
|
Version: 0.1.31
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Security guidance and baselines in SCAP formats
|
Summary: Security guidance and baselines in SCAP formats
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
@ -41,10 +41,10 @@ present in %{name} package.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} dist
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_datadir}/scap/ssg
|
%{_datadir}/scap/ssg
|
||||||
@ -60,6 +60,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%doc %{_docdir}/%{name}/tables/*.{,x}html
|
%doc %{_docdir}/%{name}/tables/*.{,x}html
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Nov 28 2016 Martin Preisler <mpreisle@redhat.com> - 0.1.31-1
|
||||||
- update to the latest upstream release
|
- update to the latest upstream release
|
||||||
- new default location for content /usr/share/scap/ssg
|
- new default location for content /usr/share/scap/ssg
|
||||||
|
Loading…
Reference in New Issue
Block a user