Mailinglist Archive: opensuse-commit (783 mails)

< Previous Next >
commit expat for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 02 Apr 2009 17:23:51 +0200
  • Message-id: <20090402152351.CFDF9678161@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package expat for openSUSE:Factory
checked in at Thu Apr 2 17:23:51 CEST 2009.


--------
--- expat/expat.changes 2008-12-10 13:56:29.000000000 +0100
+++ expat/expat.changes 2009-02-19 04:55:50.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 19 04:55:08 CET 2009 - crrodriguez@xxxxxxx
+
+- remove static libraries, shouldnt be needed anymore.
+- run make check
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ expat.spec ++++++
--- /var/tmp/diff_new_pack.F15332/_old 2009-04-02 17:23:00.000000000 +0200
+++ /var/tmp/diff_new_pack.F15332/_new 2009-04-02 17:23:00.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package expat (Version 2.0.1)
#
-# 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
@@ -20,7 +20,7 @@

Name: expat
Version: 2.0.1
-Release: 88
+Release: 89
Group: Development/Libraries/C and C++
License: X11/MIT
Url: http://expat.sourceforge.net/
@@ -106,7 +106,7 @@
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Summary: XML Parser Toolkit
Group: Development/Libraries/C and C++
-Requires: libexpat1 = %{version}
+Requires: libexpat1 = %{version} glibc-devel

%description -n libexpat-devel
Expat is an XML 1.0 parser written in C. It aims to be fully
@@ -143,30 +143,28 @@
rm -f examples/*.dsp

%build
-%configure \
- --libdir=/%{_lib}
-make
+%configure --disable-static --with-pic --libdir=/%{_lib}
+%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm doc/xmlwf.1
mkdir -p $RPM_BUILD_ROOT%{_libdir}
-# move .a file to /usr
-mv $RPM_BUILD_ROOT/%{_lib}/libexpat.a $RPM_BUILD_ROOT%{_libdir}/libexpat.a
# move .so symlink to /usr
-rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.so
-ln -sf /%{_lib}/libexpat.so.1 $RPM_BUILD_ROOT%{_libdir}/libexpat.so
+%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/lib%{name}.so)
%{buildroot}%{_libdir}/lib%{name}.so
+%{__rm} -v %{buildroot}/%{_lib}/lib%{name}.so
# remove .la file
rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la

+%check
+make check
+
%clean
rm -rf $RPM_BUILD_ROOT

-%post -n libexpat1
-/sbin/ldconfig
+%post -n libexpat1 -p /sbin/ldconfig

-%postun -n libexpat1
-/sbin/ldconfig
+%postun -n libexpat1 -p /sbin/ldconfig

%files
%defattr(-, root, root)
@@ -182,10 +180,12 @@
%files -n libexpat-devel
%defattr(-, root, root)
%{_includedir}/*
-%{_libdir}/libexpat.a
%{_libdir}/libexpat.so

%changelog
+* Thu Feb 19 2009 crrodriguez@xxxxxxx
+- remove static libraries, shouldnt be needed anymore.
+- run make check
* Wed Dec 10 2008 olh@xxxxxxx
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread