Skip to content

Commit

Permalink
Upgrades libxmb to version 0.3.21
Browse files Browse the repository at this point in the history
  • Loading branch information
aninda-al committed Nov 27, 2024
1 parent 9c00c57 commit 793b738
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions SPECS-EXTENDED/libxmlb/libxmlb.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"libxmlb-0.3.11.tar.xz": "0bf704ca040b9ab371a62182d0d6417fe7ae38428e5f48846b87b99e74fe7c23"
"libxmlb-0.3.21.tar.xz": "642343c9b3eca5c234ef83d3d5f6307c78d024f2545f3cc2fa252c9e14e4efd1"
}
}
}
36 changes: 18 additions & 18 deletions SPECS-EXTENDED/libxmlb/libxmlb.spec
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
%global glib2_version 2.45.8
%global gtk_doc 0

Summary: Library for querying compressed XML metadata
Name: libxmlb
Version: 0.3.11
Release: 2%{?dist}
License: LGPLv2+
Version: 0.3.21
Release: 1%{?dist}
License: LGPL-2.1
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://github.com/hughsie/%{name}
Source0: https://github.com/hughsie/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: glib2-devel >= %{glib2_version}
%if %{with gtk_doc}
BuildRequires: gtk-doc
%endif
BuildRequires: libstemmer-devel
BuildRequires: meson
BuildRequires: gobject-introspection-devel
BuildRequires: xz-devel
BuildRequires: libzstd-devel
BuildRequires: python3-setuptools
%if 0%{?with_check}

# needed for the self tests
BuildRequires: shared-mime-info
%endif
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: shared-mime-info

Requires: glib2%{?_isa} >= %{glib2_version}
Requires: shared-mime-info

%description
XML is slow to parse and strings inside the document cannot be memory mapped as
Expand All @@ -36,14 +34,14 @@ return some strings without actually parsing the entire document. This is all
done using (almost) zero allocations and no actual copying of the binary data.

%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
Files for development with %{name}.

%package tests
Summary: Files for installed tests
Summary: Files for installed tests

%description tests
Executable and data files for installed tests.
Expand All @@ -54,7 +52,7 @@ Executable and data files for installed tests.
%build

%meson \
-Dgtkdoc=false \
-Dgtkdoc=true \
-Dtests=true

%meson_build
Expand All @@ -77,23 +75,25 @@ Executable and data files for installed tests.
%files devel
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/Xmlb-2.0.gir
%if %{with gtk_doc}
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/libxmlb
%endif
%{_includedir}/libxmlb-2
%{_libdir}/libxmlb.so
%{_libdir}/pkgconfig/xmlb.pc

%files tests
%dir %{_libexecdir}/installed-tests/libxmlb
%{_libexecdir}/installed-tests/libxmlb/xb-self-test
%{_libexecdir}/installed-tests/libxmlb/test.xml.gz.gz.gz
%{_libexecdir}/installed-tests/libxmlb/test.*
%dir %{_datadir}/installed-tests/libxmlb
%{_datadir}/installed-tests/libxmlb/libxmlb.test

%changelog
* Wed Nov 27 2024 Aninda Pradhan <v-anipradhan@microsoft.com> - 0.3.21-1
- Updated to version 0.3.21
- License verified

* Wed Mar 08 2023 Sumedh Sharma <sumsharma@microsoft.com> - 0.3.11-2
- Initial CBL-Mariner import from Fedora 36 (license: MIT)
- Disable gtk-doc
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11821,8 +11821,8 @@
"type": "other",
"other": {
"name": "libxmlb",
"version": "0.3.11",
"downloadUrl": "https://github.com/hughsie/libxmlb/releases/download/0.3.11/libxmlb-0.3.11.tar.xz"
"version": "0.3.21",
"downloadUrl": "https://github.com/hughsie/libxmlb/releases/download/0.3.21/libxmlb-0.3.21.tar.xz"
}
}
},
Expand Down

0 comments on commit 793b738

Please sign in to comment.