- Use %makeinstall to be SLES compatible

OBS-URL: https://build.opensuse.org/package/show/Archiving/libarchive?expand=0&rev=6
This commit is contained in:
Ismail Dönmez 2012-02-08 10:58:31 +00:00 committed by Git OBS Bridge
parent db04c3efbe
commit f28c75c3cf
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 8 10:57:45 UTC 2012 - idonmez@suse.com
- Use %makeinstall to be SLES compatible
-------------------------------------------------------------------
Thu Dec 22 11:27:05 UTC 2011 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libarchive
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -148,11 +148,8 @@ make %{?_smp_mflags}
make check
%install
%if %{defined make_install}
%make_install
%else
%__make install DESTDIR=%{?buildroot}
%endif
%makeinstall
rm -fv minitar/*.o
rm -fv %{buildroot}%{_libdir}/*.la
rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5*