From 8fae728be69d8c5d262824dec1dc03d1504bf66ab35faaa6333d82254ee08748 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 26 Mar 2009 22:32:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=7 --- enchant.changes | 5 +++++ enchant.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/enchant.changes b/enchant.changes index 5ee1ade..0c34a64 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 17 21:48:28 CET 2009 - mboman@suse.de + +- Don't delete "la" files for distro version <= 11.1 + ------------------------------------------------------------------- Fri Mar 13 20:46:44 CET 2009 - crrodriguez@suse.de diff --git a/enchant.spec b/enchant.spec index ab2b7d4..601b158 100644 --- a/enchant.spec +++ b/enchant.spec @@ -26,7 +26,7 @@ License: LGPL v2.1 or later Group: Productivity/Text/Spell AutoReqProv: on Version: 1.4.2 -Release: 46 +Release: 47 Summary: Generic Spell Checking Library Source: %{name}-%{version}.tar.bz2 Url: http://www.abisource.com/ @@ -124,7 +124,9 @@ make %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT +%if %suse_version > 1110 find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -162,8 +164,13 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%if %suse_version <= 1110 +%{_libdir}/*.*a +%endif %changelog +* Tue Mar 17 2009 mboman@suse.de +- Don't delete "la" files for distro version <= 11.1 * Fri Mar 13 2009 crrodriguez@suse.de - remove all "la" files * Fri Jul 25 2008 sbrabec@suse.cz