]> git.pld-linux.org Git - packages/crossmingw32-expat.git/blobdiff - crossmingw32-expat.spec
- updated to 2.6.2 (fixes CVE-2023-52425 CVE-2023-52426 CVE-2024-28757)
[packages/crossmingw32-expat.git] / crossmingw32-expat.spec
index 7ad9705f1458ca99a6e7e2649e6fbebcd7a196b3..06515b7f3120b28248c3bb5a1427807fe6279178 100644 (file)
@@ -2,23 +2,25 @@ 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.3.0
+Version:       2.6.2
 Release:       1
 License:       MIT
 Group:         Development/Libraries
-Source0:       http://downloads.sourceforge.net/expat/%{realname}-%{version}.tar.xz
-# Source0-md5: 1c1b523a8d917e6d9f7af4f8881d8ec5
+Source0:       https://downloads.sourceforge.net/expat/%{realname}-%{version}.tar.xz
+# Source0-md5: 0cb75c8feb842c0794ba89666b762a2d
 URL:           http://www.libexpat.org/
 BuildRequires: autoconf >= 2.69
 BuildRequires: automake
 BuildRequires: crossmingw32-gcc >= 1:3.2
 BuildRequires: libtool >= 2:2.4
+BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires:      crossmingw32-runtime
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                no_install_post_strip   1
+%define                _enable_debug_packages  0
 
 %define                target                  i386-mingw32
 %define                target_platform         i386-pc-mingw32
@@ -88,9 +90,12 @@ Biblioteka DLL expat dla Windows.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# remove SIZEOF_VOID_P define, see buildconf.sh
+%{__sed} -i -e '/^\/\* The size of `void \*/,/^$/ d' expat_config.h.in
 %configure \
-       --target=%{target} \
+       --build=i686-pc-linux-gnu \
        --host=%{target} \
+       --target=%{target} \
        --without-docbook \
        --without-xmlwf
 
This page took 0.09611 seconds and 4 git commands to generate.