Summary: A framework for defining policy for system-wide components
Summary(pl.UTF-8): Szkielet do definiowania polityki dla komponentów systemowych
Name: polkit
-Version: 121
+Version: 122
Release: 1
License: LGPL v2+
Group: Libraries
-Source0: https://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 255761abdc616805a6592bb5fffae178
+Source0: https://gitlab.freedesktop.org/polkit/polkit/-/archive/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 7eb1f0070c66e5e8646d23ad38773253
Patch0: systemd-fallback.patch
URL: https://www.freedesktop.org/wiki/Software/polkit
BuildRequires: dbus-devel
BuildRequires: libstdc++-devel >= 6:7
BuildRequires: libxslt-progs
BuildRequires: meson >= 0.50.0
-%{?with_mozjs:BuildRequires: mozjs91-devel}
+%{?with_mozjs:BuildRequires: mozjs102-devel}
BuildRequires: ninja
BuildRequires: pam-devel >= 0.80
BuildRequires: pkgconfig
Pliki nagłówkowe PolicyKit.
%prep
-%setup -q -n %{name}-v.%{version}
+%setup -q
%if %{with consolekit} && (%{with systemd} || %{with elogind})
%patch0 -p1
%endif
%attr(755,root,root) %{_prefix}/lib/polkit-1/polkitd
%dir %{_sysconfdir}/polkit-1
%attr(700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/polkit-1/rules.d/50-default.rules
/etc/pam.d/polkit-1
%dir %{_datadir}/polkit-1
%{_datadir}/polkit-1/policyconfig-1.dtd
%{_datadir}/polkit-1/actions
%attr(700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
+%{_datadir}/polkit-1/rules.d/50-default.rules
%{_datadir}/dbus-1/system-services/org.freedesktop.PolicyKit1.service
%{_datadir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
%{?with_systemd:%{systemdunitdir}/polkit.service}