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