- drop static libraries (#556046)
- add fix for regression in CVE-2009-3560 patch (#544996)
This commit is contained in:
parent
b5a876e05c
commit
26f53faec0
13
expat.spec
13
expat.spec
@ -1,12 +1,13 @@
|
|||||||
Summary: An XML parser library
|
Summary: An XML parser library
|
||||||
Name: expat
|
Name: expat
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz
|
||||||
Patch1: expat-2.0.1-confcxx.patch
|
Patch1: expat-2.0.1-confcxx.patch
|
||||||
Patch2: expat-1.95.8-CVE-2009-3560.patch
|
Patch2: expat-1.95.8-CVE-2009-3560.patch
|
||||||
Patch3: expat-1.95.8-CVE-2009-3720.patch
|
Patch3: expat-1.95.8-CVE-2009-3720.patch
|
||||||
|
Patch4: expat-2.0.1-fix3560.patch
|
||||||
URL: http://www.libexpat.org/
|
URL: http://www.libexpat.org/
|
||||||
License: MIT
|
License: MIT
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -34,13 +35,14 @@ to develop XML applications with expat.
|
|||||||
%patch1 -p1 -b .confcxx
|
%patch1 -p1 -b .confcxx
|
||||||
%patch2 -p1 -b .cve3560
|
%patch2 -p1 -b .cve3560
|
||||||
%patch3 -p1 -b .cve3720
|
%patch3 -p1 -b .cve3720
|
||||||
|
%patch4 -p1 -b .fix3560
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -rf autom4te*.cache
|
rm -rf autom4te*.cache
|
||||||
rm conftools/libtool.m4
|
rm conftools/libtool.m4
|
||||||
libtoolize --copy --force --automake && aclocal && autoheader && autoconf
|
libtoolize --copy --force --automake && aclocal && autoheader && autoconf
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
%configure --libdir=/%{_lib}
|
%configure --libdir=/%{_lib} --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -52,7 +54,7 @@ chmod 644 README COPYING Changes doc/* examples/*
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||||
mv $RPM_BUILD_ROOT/%{_lib}/libexpat.{so,a} $RPM_BUILD_ROOT%{_libdir}
|
mv $RPM_BUILD_ROOT/%{_lib}/libexpat.so $RPM_BUILD_ROOT%{_libdir}
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
|
||||||
|
|
||||||
@ -79,10 +81,13 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Changes doc examples
|
%doc Changes doc examples
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/lib*.*a
|
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 31 2010 Joe Orton <jorton@redhat.com> - 2.0.1-9
|
||||||
|
- drop static libraries (#556046)
|
||||||
|
- add fix for regression in CVE-2009-3560 patch (#544996)
|
||||||
|
|
||||||
* Tue Dec 1 2009 Joe Orton <jorton@redhat.com> - 2.0.1-8
|
* Tue Dec 1 2009 Joe Orton <jorton@redhat.com> - 2.0.1-8
|
||||||
- add security fix for CVE-2009-3560 (#533174)
|
- add security fix for CVE-2009-3560 (#533174)
|
||||||
- add security fix for CVE-2009-3720 (#531697)
|
- add security fix for CVE-2009-3720 (#531697)
|
||||||
|
Loading…
Reference in New Issue
Block a user