Drop dependency on libcapng
Drop cap_ipc_lock to unbreak the D-Bus service Fixes #2005625
This commit is contained in:
parent
e75eb6447a
commit
e4be4e4a04
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Name: gnome-keyring
|
Name: gnome-keyring
|
||||||
Version: 40.0
|
Version: 40.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Framework for managing passwords and other secrets
|
Summary: Framework for managing passwords and other secrets
|
||||||
|
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
|
@ -19,7 +19,6 @@ BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libcap-ng-devel
|
|
||||||
BuildRequires: libgcrypt-devel >= %{gcrypt_version}
|
BuildRequires: libgcrypt-devel >= %{gcrypt_version}
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
@ -57,7 +56,8 @@ automatically unlock the "login" keyring when the user logs in.
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-pam-dir=%{_libdir}/security \
|
--with-pam-dir=%{_libdir}/security \
|
||||||
--enable-pam
|
--enable-pam \
|
||||||
|
--without-libcap-ng
|
||||||
|
|
||||||
# avoid unneeded direct dependencies
|
# avoid unneeded direct dependencies
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
|
||||||
|
@ -85,7 +85,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
|
||||||
%dir %{_libdir}/pkcs11
|
%dir %{_libdir}/pkcs11
|
||||||
%{_libdir}/pkcs11/*.so
|
%{_libdir}/pkcs11/*.so
|
||||||
# GPL
|
# GPL
|
||||||
%attr(0755,root,root) %caps(cap_ipc_lock=ep) %{_bindir}/gnome-keyring-daemon
|
%{_bindir}/gnome-keyring-daemon
|
||||||
%{_bindir}/gnome-keyring
|
%{_bindir}/gnome-keyring
|
||||||
%{_bindir}/gnome-keyring-3
|
%{_bindir}/gnome-keyring-3
|
||||||
%{_datadir}/dbus-1/services/*.service
|
%{_datadir}/dbus-1/services/*.service
|
||||||
|
@ -105,6 +105,11 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 21 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 40.0-3
|
||||||
|
- Drop dependency on libcapng
|
||||||
|
- Drop cap_ipc_lock to unbreak the D-Bus service
|
||||||
|
- Fixes #2005625
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-2
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue