Remove .la file

This commit is contained in:
leigh123linux 2018-04-29 11:36:44 +01:00
parent bd5d6ff3b3
commit b80556f2e7

View File

@ -7,7 +7,7 @@
Name: xviewer
Version: 1.8.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fast and functional graphics viewer
License: GPLv2+ and LGPLv2+
@ -88,7 +88,8 @@ NOCONFIGURE=1 %{_bindir}/gnome-autogen.sh
%build
%configure \
--disable-silent-rules \
--enable-gtk-doc
--enable-gtk-doc \
--disable-static
%make_build
@ -99,7 +100,7 @@ NOCONFIGURE=1 %{_bindir}/gnome-autogen.sh
%{buildroot}%{_libdir}/%{name}/plugins \
%{buildroot}%{_mandir}/man1
%{__install} -pm 0644 debian/%{name}.1 %{buildroot}%{_mandir}/man1
%{_bindir}/find %{buildroot} -type f -name '*.la' -or -name '*.a' -print -delete
%{_bindir}/find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
%find_lang %{name}
@ -161,6 +162,9 @@ fi
%changelog
* Sun Apr 29 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-2
- Remove .la file
* Sun Apr 29 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-1
- New upstream release