update to 2.2.1 (#1462474)

Resolves: rhbz#1462474
This commit is contained in:
Joe Orton 2017-06-19 09:28:18 +01:00
parent 9af336b7b5
commit 0e6b21f213

View File

@ -1,10 +1,11 @@
Summary: An XML parser library Summary: An XML parser library
Name: expat Name: expat
Version: 2.2.0 Version: 2.2.1
Release: 2%{?dist} Release: 1%{?dist}
Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.bz2 Source: https://github.com/libexpat/libexpat/archive/R_2_2_1.tar.gz#/expat-2.2.1.tar.gz
URL: http://www.libexpat.org/ URL: https://libexpat.github.io/
License: MIT License: MIT
BuildRequires: autoconf, libtool, xmlto
%description %description
This is expat, the C library for parsing XML, written by James Clark. Expat This is expat, the C library for parsing XML, written by James Clark. Expat
@ -31,7 +32,14 @@ The expat-static package contains the static version of the expat library.
Install it if you need to link statically with expat. Install it if you need to link statically with expat.
%prep %prep
%setup -q %setup -q -n libexpat-R_%(echo %{version} | sed 's/\./_/g')/expat
sed -i '
s/docbook2x-man/xmlto man --skip-validation/
/^xmlwf.1: XMLWF/d
/cp \$</d
s/^XMLWF.1/xmlwf.1/
' doc/Makefile
./buildconf.sh
%build %build
export CFLAGS="$RPM_OPT_FLAGS -fPIC" export CFLAGS="$RPM_OPT_FLAGS -fPIC"
@ -70,6 +78,9 @@ make check
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Mon Jun 19 2017 Joe Orton <jorton@redhat.com> - 2.2.1-1
- update to 2.2.1 (#1462474)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild