--- /dev/null
+Update following data/common/supplemental/supplementalMetadata.xml change
+--- liblangtag-0.6.4/tests/check-tag.c.orig 2021-09-27 06:52:04.000000000 +0200
++++ liblangtag-0.6.4/tests/check-tag.c 2023-03-04 15:04:16.449713051 +0100
+@@ -197,7 +197,7 @@ TDEF (lt_tag_canonicalize) {
+ fail_unless(lt_tag_parse(t1, "mo", NULL), "should be valid langtag.");
+ s = lt_tag_canonicalize(t1, NULL);
+ fail_unless(s != NULL, "Unable to be canonicalize.");
+- fail_unless(lt_strcmp0(s, "ro-MD") == 0, "Unexpected result to be canonicalized.");
++ fail_unless(lt_strcmp0(s, "ro") == 0, "Unexpected result to be canonicalized.");
+ free(s);
+
+ lt_tag_unref(t1);
#
# Conditional build:
-%bcond_without static_libs # static library build
+%bcond_without static_libs # static library
%bcond_without introspection # GObject interface
%bcond_without tests # "make check" call
Summary: An interface library to access tags for identifying languages
Summary(pl.UTF-8): Biblioteka interfejsu dostępu do znaczników identyfikujących języki
Name: liblangtag
-Version: 0.6.3
+Version: 0.6.4
Release: 1
License: LGPL v3+
Group: Libraries
Source0: https://bitbucket.org/tagoh/liblangtag/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: 015274eb284b1dc82bf7af1d1774ec64
+# Source0-md5: c93611c472b5875166b4a3a35a66a62d
+Patch0: %{name}-tests.patch
URL: http://tagoh.bitbucket.org/liblangtag/
BuildRequires: autoconf >= 2.62
BuildRequires: automake >= 1:1.11
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS NEWS README
%attr(755,root,root) %{_libdir}/liblangtag.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/liblangtag.so.1
%dir %{_libdir}/%{name}