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:
commit
99d5a12139
@ -2,3 +2,6 @@ expat
|
||||
libexpat1
|
||||
obsoletes "expat-<targettype>"
|
||||
provides "expat-<targettype>"
|
||||
libexpat-devel
|
||||
requires -libexpat-<targettype>
|
||||
requires "libexpat1-<targettype> = <version>"
|
||||
|
@ -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
|
||||
|
||||
|
24
expat.spec
24
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 <jjc@jclark.com>
|
||||
|
||||
%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 <jjc@jclark.com>
|
||||
|
||||
%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 <jjc@jclark.com>
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user