forked from pool/expat
Accepting request 108072 from home:tabraham1:branches:devel:libraries:c_c++
update to 2.1.0 beta OBS-URL: https://build.opensuse.org/request/show/108072 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
0940c229a3
commit
e0ab99b38a
18
expat.spec
18
expat.spec
@@ -16,8 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: expat
|
||||
Version: 2.0.1
|
||||
Version: 2.1.0beta
|
||||
Release: 0
|
||||
Url: http://expat.sourceforge.net/
|
||||
# bug437293
|
||||
@@ -28,15 +29,15 @@ Obsoletes: expat-64bit
|
||||
Summary: XML Parser Toolkit
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
#Source0: %{name}-%{version}.tar.bz2
|
||||
Source0: expat-2.1.0-beta.tar.bz2
|
||||
Source1: %{name}faq.html
|
||||
Source2: baselibs.conf
|
||||
Patch0: %{name}-CVE-2009-2625.patch
|
||||
Patch1: %{name}-CVE-2009-3560.patch
|
||||
Patch2: expat-visibility.patch
|
||||
Patch3: expat-alloc-size.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
@@ -123,16 +124,16 @@ internal subset or it is declared as stand-alone in the XML
|
||||
declaration).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%setup -q -n expat-2.1.0
|
||||
%patch2 -p1
|
||||
%patch3
|
||||
cp %{S:1} .
|
||||
rm -f examples/*.dsp
|
||||
|
||||
%build
|
||||
%if 0%{suse_version} == 1210
|
||||
autoreconf
|
||||
%endif
|
||||
%configure --disable-static --with-pic
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -164,5 +165,6 @@ make check
|
||||
%defattr(-, root, root)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libexpat.so
|
||||
%{_libdir}/pkgconfig/expat.pc
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user