Verify GPG signature of sources
Additionally, use pkgconfig syntax for BuildRequires.
This commit is contained in:
parent
30d73e1edb
commit
d812591786
@ -1,20 +1,24 @@
|
|||||||
Summary: D-Bus Python Bindings
|
|
||||||
Name: dbus-python
|
Name: dbus-python
|
||||||
Version: 1.2.16
|
Version: 1.2.16
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
|
Summary: D-Bus Python Bindings
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
||||||
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
||||||
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
|
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
|
||||||
|
# gpg --keyserver keyring.debian.org --recv-keys 36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F
|
||||||
|
# gpg --export --export-options export-minimal > gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
|
||||||
|
Source2: gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
|
||||||
|
|
||||||
# borrow centos7 patch to use sitearch properly
|
# borrow centos7 patch to use sitearch properly
|
||||||
Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1788491
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1788491
|
||||||
Patch1: python39.patch
|
Patch1: python39.patch
|
||||||
|
|
||||||
BuildRequires: dbus-devel
|
BuildRequires: gnupg2
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
# for %%check
|
# for %%check
|
||||||
BuildRequires: dbus-x11
|
BuildRequires: dbus-x11
|
||||||
BuildRequires: python%{python3_pkgversion}-gobject
|
BuildRequires: python%{python3_pkgversion}-gobject
|
||||||
@ -45,6 +49,7 @@ Headers and static libraries for hooking up custom mainloops to the dbus python
|
|||||||
bindings.
|
bindings.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
# For new arches (aarch64/ppc64le), and patch0
|
# For new arches (aarch64/ppc64le), and patch0
|
||||||
@ -80,6 +85,10 @@ make check -k || (cat test-suite.log && false)
|
|||||||
%{_libdir}/pkgconfig/dbus-python.pc
|
%{_libdir}/pkgconfig/dbus-python.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 13 2021 David King <amigadave@amigadave.com> - 1.2.16-6
|
||||||
|
- Verify GPG signature of sources
|
||||||
|
- Use pkgconfig for BuildRequires
|
||||||
|
|
||||||
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.2.16-5
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.2.16-5
|
||||||
- Rebuilt for Python 3.10
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
BIN
gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
Normal file
BIN
gpgkey-36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F.gpg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user