From 0e6b21f2139aab3c30be73afd5156f385d8c2618 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Mon, 19 Jun 2017 09:28:18 +0100 Subject: [PATCH] update to 2.2.1 (#1462474) Resolves: rhbz#1462474 --- expat.spec | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/expat.spec b/expat.spec index 8f98366..3dd8827 100644 --- a/expat.spec +++ b/expat.spec @@ -1,10 +1,11 @@ Summary: An XML parser library Name: expat -Version: 2.2.0 -Release: 2%{?dist} -Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.bz2 -URL: http://www.libexpat.org/ +Version: 2.2.1 +Release: 1%{?dist} +Source: https://github.com/libexpat/libexpat/archive/R_2_2_1.tar.gz#/expat-2.2.1.tar.gz +URL: https://libexpat.github.io/ License: MIT +BuildRequires: autoconf, libtool, xmlto %description 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. %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 \$ - 2.2.1-1 +- update to 2.2.1 (#1462474) + * Fri Feb 10 2017 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild