SHA256
1
0
forked from pool/expat

Accepting request 83497 from devel:libraries:c_c++

- 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) (forwarded request 83485 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/83497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/expat?expand=0&rev=24
This commit is contained in:
Lars Vogdt 2011-09-19 14:52:41 +00:00 committed by Git OBS Bridge
commit 99d5a12139
3 changed files with 12 additions and 23 deletions

View File

@ -2,3 +2,6 @@ expat
libexpat1 libexpat1
obsoletes "expat-<targettype>" obsoletes "expat-<targettype>"
provides "expat-<targettype>" provides "expat-<targettype>"
libexpat-devel
requires -libexpat-<targettype>
requires "libexpat1-<targettype> = <version>"

View File

@ -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 Fri Feb 25 16:01:01 UTC 2011 - prusnak@opensuse.org

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: expat 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 internal subset or it is declared as stand-alone in the XML
declaration). declaration).
Authors:
--------
James Clark <jjc@jclark.com>
%package -n libexpat1 %package -n libexpat1
License: MIT License: MIT
Summary: XML Parser Toolkit 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 internal subset or it is declared as stand-alone in the XML
declaration). declaration).
Authors:
--------
James Clark <jjc@jclark.com>
%package -n libexpat-devel %package -n libexpat-devel
License: MIT License: MIT
Summary: XML Parser Toolkit 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 internal subset or it is declared as stand-alone in the XML
declaration). declaration).
Authors:
--------
James Clark <jjc@jclark.com>
%prep %prep
%setup -q %setup -q
%patch0 %patch0
@ -150,7 +131,7 @@ rm -f examples/*.dsp
%build %build
%configure --disable-static --with-pic --libdir=/%{_lib} %configure --disable-static --with-pic --libdir=/%{_lib}
%{__make} %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
@ -165,9 +146,6 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
%check %check
make check make check
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libexpat1 -p /sbin/ldconfig %post -n libexpat1 -p /sbin/ldconfig
%postun -n libexpat1 -p /sbin/ldconfig %postun -n libexpat1 -p /sbin/ldconfig