[xosd] Remove build-optional static library

Petr Pisar ppisar at fedoraproject.org
Fri Jan 13 13:54:51 UTC 2012


commit f33f1f78bffeb6ff0aace395f113e0483856fe22
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Nov 24 14:26:02 2011 +0100

    Remove build-optional static library

 xosd.spec |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/xosd.spec b/xosd.spec
index a1b37b5..46b93d4 100644
--- a/xosd.spec
+++ b/xosd.spec
@@ -1,5 +1,3 @@
-%bcond_with static
-
 Name:           xosd
 Version:        2.2.14
 Release:        15%{?dist}
@@ -37,9 +35,8 @@ Requires:       libXext-devel
 Requires:       libXinerama-devel
 
 %description    devel
-The xosd-devel package contains static libraries, header files and
-documentation for developing applications that use the XOSD on-screen
-display.
+Header files and documentation for developing applications that use the XOSD
+on-screen display.
 
 %prep
 %setup -q
@@ -51,7 +48,7 @@ done
 
 
 %build
-%configure --disable-dependency-tracking %{!?with_static:--disable-static} \
+%configure --disable-dependency-tracking --disable-static \
     --disable-gtktest --disable-gdk_pixbuftest \
     --disable-new-plugin --disable-old-plugin \
     --disable-beep_media_player_plugin
@@ -87,9 +84,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/xosd-config
 %{_includedir}/xosd.h
 %{_libdir}/libxosd.so
-%if %{with static}
-%{_libdir}/libxosd.a
-%endif
 %{_datadir}/aclocal/libxosd.m4
 %{_mandir}/man1/xosd-config.1*
 %{_mandir}/man3/xosd*.3*
@@ -97,6 +91,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Thu Nov 24 2011 Petr Pisar <ppisar at redhat.com> - 2.2.14-15
 - Disable XMMS plug-in because gdk-pixpuf-0 has been removed
+- Remove build-optional static library
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.14-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list