Fix tests on aarch64 and check signature during prep state
$ fedpkg prep This will check the signature is valid.
This commit is contained in:
parent
defb53fad2
commit
14489eb6c7
17
libldb.spec
17
libldb.spec
@ -25,7 +25,7 @@
|
||||
|
||||
Name: libldb
|
||||
Version: 2.3.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A schema-less, ldap like, API and database
|
||||
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
||||
Requires: libtdb%{?_isa} >= %{tdb_version}
|
||||
@ -36,9 +36,14 @@ Source0: https://www.samba.org/ftp/ldb/ldb-%{version}.tar.gz
|
||||
Source1: https://www.samba.org/ftp/ldb/ldb-%{version}.tar.asc
|
||||
# gpg2 --no-default-keyring --keyring ./ldb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
||||
Source2: ldb.keyring
|
||||
# binary diffs are not supported
|
||||
# https://gitlab.com/samba-team/samba/-/merge_requests/1920
|
||||
Source3: fixed-guidindexpackv1.ldb
|
||||
|
||||
# Patches
|
||||
Patch0001: 0001-PATCH-wafsamba-Fix-few-SyntaxWarnings-caused-by-regu.patch
|
||||
# https://gitlab.com/samba-team/samba/-/merge_requests/1920
|
||||
Patch0002: ldb-2.3.0-fix-tests-on-aarch64.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||
@ -124,11 +129,13 @@ Development files for the Python bindings for the LDB library
|
||||
%endif
|
||||
|
||||
%prep
|
||||
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
%autosetup -n ldb-%{version} -p1
|
||||
|
||||
%build
|
||||
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
# binary diffs are not supported
|
||||
cp -f %{SOURCE3} tests/guidindexpackv1.ldb
|
||||
|
||||
%build
|
||||
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
||||
export python_LDFLAGS=""
|
||||
|
||||
@ -223,6 +230,10 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 20 2021 Andreas Schneider <asn@redhat.com> - 2.3.0-2
|
||||
- Fix tests on aarch64
|
||||
- Verify signature in prep state
|
||||
|
||||
* Wed Mar 24 2021 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.0-1
|
||||
- libldb-2.3.0 is required for new samba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user