parent
9af336b7b5
commit
0e6b21f213
21
expat.spec
21
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 \$</d
|
||||
s/^XMLWF.1/xmlwf.1/
|
||||
' doc/Makefile
|
||||
./buildconf.sh
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
@ -70,6 +78,9 @@ make check
|
||||
%{_libdir}/lib*.a
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user