diff --git a/mxml-2.11.tar.gz b/mxml-2.11.tar.gz deleted file mode 100644 index 654ea2e..0000000 --- a/mxml-2.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d3dfe661e50908fe41aef9b97ba6f7f158cab5208515c6be9f5bc9daf032329 -size 9166624 diff --git a/mxml-3.1.tar.gz b/mxml-3.1.tar.gz new file mode 100644 index 0000000..1cc0c5c --- /dev/null +++ b/mxml-3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ac8d252f62f9dc2b2004518c70d2da313bdfcd92b8350e215f46064a34b52fc +size 9268821 diff --git a/mxml-3.1.tar.gz.sig b/mxml-3.1.tar.gz.sig new file mode 100644 index 0000000..8b3b00e Binary files /dev/null and b/mxml-3.1.tar.gz.sig differ diff --git a/mxml.changes b/mxml.changes index 7a42a0d..6273c04 100644 --- a/mxml.changes +++ b/mxml.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Sat Mar 7 13:14:37 UTC 2020 - Adam Majer + +- Add keyring +- Fix source URLs to point to actual releases + +------------------------------------------------------------------- +Thu Mar 5 23:39:46 UTC 2020 - Marcus Rueckert + +- Update to version 3.1 + - The mxmlLoad* functions now print an error when the XML does + not start with < and no parent node is supplied (Issue #256, + Issue #259) + - Fixed an issue with “make install” trying to install old files + (Issue #257) + - Fixed some DSO installation issues on Linux. +- Changes from 3.0 + - Changed the license to Apache 2.0 with exceptions (Issue #239) + - All of the internal node structures are now moved out of the + public header (Issue #240) + - Fixed a potential buffer overflow when writing floating point + data (Issue #233) + - Moved mxmldoc to a new codedoc project whose focus is on + generating code documentation (Issue #235, Issue #236, Issue + #237) + - Error messages now include the line number of the error (Issue + #230) + - The mxmlSetCDATA, mxmlSetElement, mxmlSetOpaque, + mxmlSetOpaquef, mxmlSetText, and mxmlSetTextf functions caused + a use-after-free bug if the value came from the same node + (Issue #241) + - The mxmlSetOpaquef and mxmlSetTextf functions did not work + (Issue #244) + - The _mxml_strdupf function did not work on Windows (Issue #245) +- Changes from 2.12 + - Added yet more documentation about using MXML_OPAQUE_CALLBACK + when you want to get full strings for inline text instead of + separated words (Issue #190) + - No longer build documentation sets on macOS since Xcode no + longer supports them (Issue #198) + - Updated the va_copy macro for use with BCC (Issue #211) + - The mxmlNewCDATA and mxmlSetCDATA functions incorrectly added + the XML trailer “]]” to the string (Issue #216) + - Cross-compiling failed on install (Issue #218) + - Fixed a crash bug in the mxmlWrite functions (Issue #228) + - The mxmlWrite functions no longer write the siblings of the + passed node (Issue #228) + - Updated the markdown and ZIP container libraries used for + mxmldoc. +- remove mxmldoc binaries and man pages +- enable threading support + ------------------------------------------------------------------- Sun Jul 15 13:11:50 UTC 2018 - antoine.belvire@opensuse.org diff --git a/mxml.keyring b/mxml.keyring new file mode 100644 index 0000000..f237df5 Binary files /dev/null and b/mxml.keyring differ diff --git a/mxml.spec b/mxml.spec index c64bac9..cfdae8e 100644 --- a/mxml.spec +++ b/mxml.spec @@ -1,7 +1,7 @@ # # spec file for package mxml # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define library_name libmxml1 Name: mxml -Version: 2.11 +Version: 3.1 Release: 0 Summary: Small XML Parsing Library -License: LGPL-2.1-or-later +# The Mini-XML library is licensed under the Apache License Version 2.0 with an +# exception to allow linking against GPL2/LGPL2-only software. +License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://www.msweet.org/mxml -Source: https://github.com/michaelrsweet/mxml/archive/v%{version}/%{name}-%{version}.tar.gz -Source1: baselibs.conf +Source: https://github.com/michaelrsweet/mxml/releases/download/v%{version}/mxml-%{version}.tar.gz +Source1: https://github.com/michaelrsweet/mxml/releases/download/v%{version}/mxml-%{version}.tar.gz.sig +# key from https://www.msweet.org/pgp.html +Source2: mxml.keyring +Source10: baselibs.conf BuildRequires: pkgconfig %description @@ -34,8 +40,6 @@ nonstandard libraries. This package holds the commandline tools for mxml. -%define library_name libmxml1 - %package -n %{library_name} Summary: Shared library for mxml Group: System/Libraries @@ -76,7 +80,7 @@ This package holds the HTML documentation for mxml. %setup -q %build -%configure --enable-shared --with-docdir=%{_docdir}/%{name} +%configure --enable-threads --enable-shared --with-docdir=%{_docdir}/%{name} make %{?_smp_mflags} %install @@ -86,10 +90,6 @@ rm -v %{buildroot}%{_libdir}/libmxml.a %post -n %{library_name} -p /sbin/ldconfig %postun -n %{library_name} -p /sbin/ldconfig -%files -%{_bindir}/mxmldoc -%{_mandir}/man1/mxmldoc.1%{?ext_man} - %files -n %{library_name} %{_libdir}/libmxml.so.1*