Use make_install macro

This commit is contained in:
Kalev Lember 2016-10-18 12:13:37 +02:00
parent 05633e36b7
commit 6bf7bc8669

View File

@ -2,7 +2,7 @@
Name: gtk-doc Name: gtk-doc
Version: 1.25 Version: 1.25
Release: 1%{?dist} Release: 2%{?dist}
Summary: API documentation generation tool for GTK+ and GNOME Summary: API documentation generation tool for GTK+ and GNOME
Group: Development/Tools Group: Development/Tools
@ -51,7 +51,7 @@ mv doc/README doc/README.docs
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %make_install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
@ -67,6 +67,9 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
%{_libdir}/cmake/ %{_libdir}/cmake/
%changelog %changelog
* Tue Oct 18 2016 Kalev Lember <klember@redhat.com> - 1.25-2
- Use make_install macro
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 1.25-1 * Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 1.25-1
- Update to 1.25 - Update to 1.25
- Make the package not noarch as it is now putting files in archful directories - Make the package not noarch as it is now putting files in archful directories