[packages/crossmingw32-expat] - updated to 2.2.7 (possible DoS fix) - removed obsolete ac_fixes patch

qboosh qboosh at pld-linux.org
Sun Jul 28 19:26:00 CEST 2019


commit b68efd351e675d56bbeae61885763f7345175b89
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 28 19:27:56 2019 +0200

    - updated to 2.2.7 (possible DoS fix)
    - removed obsolete ac_fixes patch

 crossmingw32-expat.spec | 17 +++++++++--------
 expat-ac_fixes.patch    | 22 ----------------------
 2 files changed, 9 insertions(+), 30 deletions(-)
---
diff --git a/crossmingw32-expat.spec b/crossmingw32-expat.spec
index 7a6d954..c505092 100644
--- a/crossmingw32-expat.spec
+++ b/crossmingw32-expat.spec
@@ -2,18 +2,19 @@ Summary:	XML 1.0 parser - Ming32 cross version
 Summary(pl.UTF-8):	Analizator składni XML-a 1.0 - wersja skrośna dla Ming32
 %define		realname		expat
 Name:		crossmingw32-%{realname}
-Version:	2.2.6
+Version:	2.2.7
 Release:	1
 License:	MIT
 Group:		Development/Libraries
-Source0:	http://downloads.sourceforge.net/expat/%{realname}-%{version}.tar.bz2
-# Source0-md5:	ca047ae951b40020ac831c28859161b2
-Patch0:		%{realname}-ac_fixes.patch
+Source0:	http://downloads.sourceforge.net/expat/%{realname}-%{version}.tar.xz
+# Source0-md5:	3659bc0938db78815b5f5a9c24d732aa
 URL:		http://www.libexpat.org/
-BuildRequires:	autoconf >= 2.58
+BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake
-BuildRequires:	crossmingw32-gcc
-BuildRequires:	libtool
+BuildRequires:	crossmingw32-gcc >= 1:3.2
+BuildRequires:	libtool >= 1:1.22
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
 Requires:	crossmingw32-runtime
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -80,7 +81,6 @@ Biblioteka DLL expat dla Windows.
 
 %prep
 %setup -q -n %{realname}-%{version}
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -115,6 +115,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS COPYING Changes README.md
 %{_libdir}/libexpat.dll.a
 %{_libdir}/libexpat.la
 %{_includedir}/expat*.h
diff --git a/expat-ac_fixes.patch b/expat-ac_fixes.patch
deleted file mode 100644
index 1534296..0000000
--- a/expat-ac_fixes.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- expat-2.1.1/configure.ac~	2012-07-28 10:41:03.000000000 +0300
-+++ expat-2.1.1/configure.ac	2012-07-28 10:41:41.511402972 +0300
-@@ -51,8 +51,6 @@
- 
- AC_CONFIG_HEADER(expat_config.h)
- 
--sinclude(conftools/ac_c_bigendian_cross.m4)
--
- AC_LIBTOOL_WIN32_DLL
- AC_PROG_LIBTOOL
- 
-@@ -83,9 +80,7 @@
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- 
--dnl Note: Avoid using AC_C_BIGENDIAN because it does not
--dnl work in a cross compile.
--AC_C_BIGENDIAN_CROSS
-+AC_C_BIGENDIAN
- 
- AC_C_CONST
- AC_TYPE_SIZE_T
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-expat.git/commitdiff/b68efd351e675d56bbeae61885763f7345175b89



More information about the pld-cvs-commit mailing list