diff --git a/.gitignore b/.gitignore index 3c4d59d..255ec54 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /LMDB_0.9.25.tar.gz /LMDB_0.9.26.tar.gz /LMDB_0.9.27.tar.gz +/LMDB_0.9.28.tar.gz diff --git a/lmdb.spec b/lmdb.spec index 028f240..fc9d590 100644 --- a/lmdb.spec +++ b/lmdb.spec @@ -1,25 +1,27 @@ +Name: lmdb +Version: 0.9.28 +Release: 1%{?dist} +Summary: Memory-mapped key-value database +License: OpenLDAP +URL: http://symas.com/mdb + +# Main source is retrieved from OpenLDAP GitLab +%global forgeurl https://git.openldap.org/openldap/openldap +%global tag LMDB_%{version} +# Tag checkout includes commit in archive name +%global commit 51a29155e1609f325e4155556f242bc58b7d8287 # The files themselves are in several subdirectories and need to be prefixed wit this. %global archive_path libraries/lib%{name} -# Archive from GitLab tag contains the commit hash in the top-level directory name -%global commit_hash 3c9aa9df8497ad977e0f91347f0626f5d53c9ab7 - -Name: lmdb -Version: 0.9.27 -Release: 2%{?dist} -Summary: Memory-mapped key-value database - -License: OpenLDAP -URL: http://symas.com/mdb/ -Source0: https://git.openldap.org/openldap/openldap/-/archive/LMDB_%{version}.tar.gz +Source0: %{forgeurl}/-/archive/%{tag}.tar.gz Source1: lmdb.pc.in # Patch description in the corresponding file Patch0: lmdb-make.patch Patch1: lmdb-s390-check.patch -BuildRequires: make -BuildRequires: gcc -BuildRequires: doxygen +BuildRequires: make +BuildRequires: gcc +BuildRequires: doxygen %description LMDB is an ultra-fast, ultra-compact key-value embedded data @@ -52,7 +54,7 @@ The %{name}-doc package contains automatically generated documentation for %{nam %prep -%autosetup -p1 -n openldap-LMDB_%{version}-%{commit_hash} +%autosetup -p1 -n openldap-%{tag}-%{commit} %build @@ -120,6 +122,10 @@ popd %changelog +* Mon Feb 08 2021 Jan Staněk - 0.9.28-1 +- Upgrade to version 0.9.28 +- Specfile refactoring + * Tue Jan 26 2021 Fedora Release Engineering - 0.9.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index b8748a6..a76f21d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (LMDB_0.9.27.tar.gz) = bbd469cb00fbf2503575048b2c60e289e6bc2a59cdaafae23d2032203eff1ee0d934a76d95850810b61131c11e8aa9933057f60f286c6b21218f20721e54f517 +SHA512 (LMDB_0.9.28.tar.gz) = 5125a8f19483ca727237932b68f4832832df3aff0c3999d2f5d76cf8b9719a785d97b06ca0fa9262fdf03a5c94f2261cb0250cc26a6d0101410dd411f25753b1