update to 2.2.4 (#1483359)

Resolves: rhbz#1483359
This commit is contained in:
Joe Orton 2017-08-21 08:36:52 +01:00
parent ef343f5f48
commit 39af8068bb
3 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ expat-2.0.1.tar.gz
/expat-2.2.2.tar.gz
/libexpat-R_*
/expat-2.2.3.tar.gz
/expat-2.2.4.tar.gz

View File

@ -1,11 +1,10 @@
%global unversion 2_2_3
%global unversion 2_2_4
Summary: An XML parser library
Name: expat
Version: %(echo %{unversion} | sed 's/_/./g')
Release: 1%{?dist}
Source: https://github.com/libexpat/libexpat/archive/R_%{unversion}.tar.gz#/expat-%{version}.tar.gz
Patch0: expat-2.2.3-fixtests.patch
URL: https://libexpat.github.io/
License: MIT
BuildRequires: autoconf, libtool, xmlto
@ -36,13 +35,13 @@ Install it if you need to link statically with expat.
%prep
%setup -q -n libexpat-R_%{unversion}/expat
%patch0 -p2 -b .fixtests
sed -i '
s/docbook2x-man/xmlto man --skip-validation/
/^xmlwf.1: XMLWF/d
/cp \$</d
s/^XMLWF.1/xmlwf.1/
' doc/Makefile
' doc/doc.mk
sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am
./buildconf.sh
%build
@ -63,13 +62,14 @@ make check
%files
%{!?_licensedir:%global license %%doc}
%doc AUTHORS Changes
%license COPYING
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_mandir}/*/*
%files devel
%doc Changes doc/reference.html doc/*.png doc/*.css examples/*.c
%doc doc/reference.html doc/*.png doc/*.css examples/*.c
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*.h
@ -78,6 +78,9 @@ make check
%{_libdir}/lib*.a
%changelog
* Mon Aug 21 2017 Joe Orton <jorton@redhat.com> - 2.2.4-1
- update to 2.2.4 (#1483359)
* Fri Aug 4 2017 Joe Orton <jorton@redhat.com> - 2.2.3-1
- fix tests with unsigned char (upstream PR 109)
- update to 2.2.3 (#1473266)

View File

@ -1 +1 @@
SHA512 (expat-2.2.3.tar.gz) = ecb1b197923d45787eda95de7e5d68c01a380dc31637cc2b72adfef37bf300604ffce6d61b08389133ff9ae6c7f87c8f74a1ebb7f3569623c90182e4e6e58846
SHA512 (expat-2.2.4.tar.gz) = 64f9deb2f75be70450a60a408ab867d1df800022e29000a31a801d85421178b400ebbf817864d1592ce998ada1012fa25fd896e5f25c6b314851ae62d94b45dc