diff --git a/expat-2.6.0.tar.gz b/expat-2.6.0.tar.gz deleted file mode 100644 index 1982b965f3e11a4e8bb2a40ec9a5b5e96ce81f94..0000000000000000000000000000000000000000 Binary files a/expat-2.6.0.tar.gz and /dev/null differ diff --git a/expat-2.6.2.tar.gz b/expat-2.6.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4edd900cce136967b9a7cf0c13116ef7abb0d56d Binary files /dev/null and b/expat-2.6.2.tar.gz differ diff --git a/expat.spec b/expat.spec index 2f9fc256f702de46ce85252dfc84ef573b28d87f..5ebf883612bbb0fefb3b6af42a20a544406f6fbb 100644 --- a/expat.spec +++ b/expat.spec @@ -1,13 +1,14 @@ %define Rversion %(echo %{version} | sed -e 's/\\./_/g' -e 's/^/R_/') +%global unversion 2_6_2 Name: expat -Version: 2.6.0 +Version: 2.6.2 Release: 1 Summary: An XML parser library License: MIT URL: https://libexpat.github.io/ Source0: https://github.com/libexpat/libexpat/releases/download/%{Rversion}/expat-%{version}.tar.gz -BuildRequires: sed,autoconf,automake,gcc-c++,libtool,xmlto +BuildRequires: sed,autoconf,gcc-c++,libtool,xmlto %description expat is a stream-oriented XML parser library written in C. @@ -23,10 +24,11 @@ This package provides with static libraries and header files for developing wit %package_help %prep -%autosetup -p1 +%setup -q -n libexpat-R_%{unversion}/expat +sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am +./buildconf.sh %build -autoreconf -fiv %configure CFLAGS="$RPM_OPT_FLAGS -fPIC" DOCBOOK_TO_MAN="xmlto man --skip-validation" %make_build @@ -42,6 +44,7 @@ make check %files %defattr(-,root,root) %license COPYING AUTHORS +%doc Changes %{_bindir}/* %{_libdir}/libexpat.so.1* %exclude %{_docdir}/%{name}/AUTHORS @@ -55,10 +58,13 @@ make check %files help %defattr(-,root,root) -%doc README.md +%doc README.md %{_mandir}/man1/* %changelog +* Mon Apr 01 2024 dongjiao - 2.6.2-1 +- expat update to 2.6.2 + * Wed Feb 21 2024 liweigang - 2.6.0-1 - expat update to 2.6.0