From acde5df41a390384d9bdb8b1f939d842c24d0fcf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Oct 27 2016 15:14:33 +0000 Subject: use std macros --- diff --git a/ostree.spec b/ostree.spec index 8428006..357ff84 100644 --- a/ostree.spec +++ b/ostree.spec @@ -76,12 +76,12 @@ env NOCONFIGURE=1 ./autogen.sh --enable-gtk-doc \ --with-selinux \ --with-dracut=yesbutnoconf -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c" -find $RPM_BUILD_ROOT -name '*.la' -delete -install -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system-preset/91-ostree.preset +%make_install INSTALL="install -p -c" +find %{buildroot} -name '*.la' -delete +install -D -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system-preset/91-ostree.preset %post