Reintroduce static library production in development package.

Sun, 08 May 2011 15:47:22 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 08 May 2011 15:47:22 +0200
changeset 13
50e3a83e4f0b
parent 12
94a28e1a8def
child 14
bc3cd9a53ab5

Reintroduce static library production in development package.

xorg-x11-libXt/xorg-x11-libXt.spec file | annotate | diff | comparison | revisions
     1.1 --- a/xorg-x11-libXt/xorg-x11-libXt.spec	Sun May 08 15:46:25 2011 +0200
     1.2 +++ b/xorg-x11-libXt/xorg-x11-libXt.spec	Sun May 08 15:47:22 2011 +0200
     1.3 @@ -23,7 +23,7 @@
     1.4  BuildRequires:  fdupes pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-proto-devel xorg-x11-xtrans-devel
     1.5  Url:            http://xorg.freedesktop.org/
     1.6  Version:        7.6_%{dirsuffix}
     1.7 -Release:        4.1
     1.8 +Release:        4.2
     1.9  Vendor:         Europalab Software
    1.10  Packager:       Europalab Software
    1.11  License:        MIT License (or similar)
    1.12 @@ -66,18 +66,13 @@
    1.13  autoreconf -fi
    1.14  export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
    1.15  %configure --disable-silent-rules \
    1.16 -%if %suse_version > 1110
    1.17 ---disable-static \
    1.18 -%endif
    1.19 +--enable-static \
    1.20  --with-pic
    1.21  %{__make} %{?jobs:-j%jobs}
    1.22  
    1.23  %install
    1.24  make install DESTDIR=$RPM_BUILD_ROOT
    1.25  mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults
    1.26 -%if %suse_version > 1110
    1.27 -%{__rm} -f %{buildroot}%{_libdir}/*.la
    1.28 -%endif
    1.29  %fdupes -s $RPM_BUILD_ROOT/%_mandir
    1.30  
    1.31  %clean
    1.32 @@ -102,12 +97,12 @@
    1.33  %{_libdir}/*.so
    1.34  %{_libdir}/pkgconfig/*.pc
    1.35  %{_mandir}/man3/*
    1.36 -%if %suse_version <= 1110
    1.37  %{_libdir}/*.a
    1.38  %{_libdir}/*.la
    1.39 -%endif
    1.40  
    1.41  %changelog
    1.42 +* Sun May 8 2011 michael@schloh.com
    1.43 +- Reintroduced static library in dev package.
    1.44  * Tue Dec 21 2010 sndirsch@novell.com
    1.45  - bumped version number to 7.6_1.0.9
    1.46  * Wed Dec  1 2010 jslaby@suse.de

mercurial