From 677116666ce99fadc5de1e5f06d131ddb13eff6dee62156137c954c77d07a86c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 29 Jan 2009 23:27:37 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfce4-session?expand=0&rev=12 --- xfce4-session.changes | 5 +++++ xfce4-session.spec | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/xfce4-session.changes b/xfce4-session.changes index 9897b88..ac4a0e5 100644 --- a/xfce4-session.changes +++ b/xfce4-session.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 28 15:02:30 CET 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + ------------------------------------------------------------------- Tue Nov 18 14:10:07 CET 2008 - pnemec@suse.cz diff --git a/xfce4-session.spec b/xfce4-session.spec index 53c2953..138116d 100644 --- a/xfce4-session.spec +++ b/xfce4-session.spec @@ -1,7 +1,7 @@ # # spec file for package xfce4-session (Version 4.4.3) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -27,7 +27,7 @@ BuildRequires: intltool xfce-mcs-manager-devel >= 4.3 Requires: fortune Summary: Xfce Session manager Version: 4.4.3 -Release: 2 +Release: 3 License: GPL v2 or later Url: http://www.xfce.org/ Source0: %{name}-%{version}.tar.bz2 @@ -80,7 +80,7 @@ Authors: %patch2 %build -%configure \ +%configure --disable-static --with-pic \ --enable-session-screenshots make %{?jobs:-j%jobs} %suse_update_desktop_file -i xfce-splash-settings X-XFCE Settings DesktopSettings @@ -97,6 +97,7 @@ cd $RPM_BUILD_ROOT/%{_datadir} tar xvfj $RPM_SOURCE_DIR/xfce4-session-ubuntu-icons.tar.bz2 cd - rm -f $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/scalable/apps/xfsm-shutdown.svg +%{__rm} -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT @@ -122,8 +123,11 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop %post +/sbin/ldconfig %run_suseconfig -m gtk2 +%postun -p /sbin/ldconfig + %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/* @@ -131,6 +135,8 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/xfce4/*/* %changelog +* Wed Jan 28 2009 crrodriguez@suse.de +- remove static libraries and "la" files * Tue Nov 18 2008 pnemec@suse.cz - call update_desktop_file macro on desktop files [bnc#445722] * Fri Nov 14 2008 prusnak@suse.cz