From 16a2fbfcec3c05f5b00bde38e449258a054aab9141bb68e49695ef93593e7169 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 6 Jun 2011 07:47:52 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/expat revision 23.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=e3d21afc73b6d12452c1aece4fd34448 --- expat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat.spec b/expat.spec index 82e9e15..1c282c3 100644 --- a/expat.spec +++ b/expat.spec @@ -20,7 +20,7 @@ Name: expat Version: 2.0.1 -Release: 104 +Release: 105 Group: Development/Libraries/C and C++ License: MIT Url: http://expat.sourceforge.net/ From 44e44071e4414869ad38ea1e92eb750340afdd71c5c07b6e66205843aa9a6d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 19 Sep 2011 09:53:57 +0000 Subject: [PATCH 2/2] Accepting request 83485 from home:jengelh:bl-e - Remove redundant/obsolete tags/sections from specfile (cf. packaging guidelines) - Use %_smp_mflags for parallel build - Add libexpat-devel to baselibs (for dev of 32-bit progs) OBS-URL: https://build.opensuse.org/request/show/83485 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=14 --- baselibs.conf | 3 +++ expat.changes | 8 ++++++++ expat.spec | 24 +----------------------- 3 files changed, 12 insertions(+), 23 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index ff731e8..46861b8 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -2,3 +2,6 @@ expat libexpat1 obsoletes "expat-" provides "expat-" +libexpat-devel + requires -libexpat- + requires "libexpat1- = " diff --git a/expat.changes b/expat.changes index 721fbe0..86a1936 100644 --- a/expat.changes +++ b/expat.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Remove redundant/obsolete tags/sections from specfile + (cf. packaging guidelines) +- Use %_smp_mflags for parallel build +- Add libexpat-devel to baselibs + ------------------------------------------------------------------- Fri Feb 25 16:01:01 UTC 2011 - prusnak@opensuse.org diff --git a/expat.spec b/expat.spec index 1c282c3..2fe7db5 100644 --- a/expat.spec +++ b/expat.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: expat @@ -61,12 +60,6 @@ has no external subset and no references to parameter entities in the internal subset or it is declared as stand-alone in the XML declaration). - - -Authors: --------- - James Clark - %package -n libexpat1 License: MIT Summary: XML Parser Toolkit @@ -100,12 +93,6 @@ has no external subset and no references to parameter entities in the internal subset or it is declared as stand-alone in the XML declaration). - - -Authors: --------- - James Clark - %package -n libexpat-devel License: MIT Summary: XML Parser Toolkit @@ -135,12 +122,6 @@ has no external subset and no references to parameter entities in the internal subset or it is declared as stand-alone in the XML declaration). - - -Authors: --------- - James Clark - %prep %setup -q %patch0 @@ -150,7 +131,7 @@ rm -f examples/*.dsp %build %configure --disable-static --with-pic --libdir=/%{_lib} -%{__make} %{?jobs:-j%jobs} +make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install @@ -165,9 +146,6 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la %check make check -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libexpat1 -p /sbin/ldconfig %postun -n libexpat1 -p /sbin/ldconfig