From 0d3cda3a8c555b2d28302bf1f0e68fcafd4911bf Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 13:24:10 -0400 Subject: [PATCH] Auto sync2gitlab import of polkit-pkla-compat-0.1-12.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - polkit-pkla-compat.spec | 88 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 polkit-pkla-compat.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..32611e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/polkit-pkla-compat-0.1.tar.xz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/polkit-pkla-compat.spec b/polkit-pkla-compat.spec new file mode 100644 index 0000000..9f30292 --- /dev/null +++ b/polkit-pkla-compat.spec @@ -0,0 +1,88 @@ +Name: polkit-pkla-compat +Version: 0.1 +Release: 12%{?dist} +Summary: Rules for polkit to add compatibility with pklocalauthority +# GPLv2-licensed ltmain.sh and Apache-licensed mocklibc are not shipped in +# the binary package. +License: LGPLv2+ +URL: https://pagure.io/polkit-pkla-compat +Source0: http://releases.pagure.org/polkit-pkla-compat/polkit-pkla-compat-%{version}.tar.xz + +BuildRequires: docbook-style-xsl, libxslt, glib2-devel, polkit-devel +# To ensure the polkitd group already exists when this is installed +Requires(pre): polkit + +%global _hardened_build 1 + +%description +A polkit JavaScript rule and associated helpers that mostly provide +compatibility with the .pkla file format supported in polkit <= 0.105 for users +of later polkit releases. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} V=1 + +%install +%make_install INSTALL='install -p' + +%check +make check + +%files +%doc AUTHORS COPYING NEWS README +%dir %attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/localauthority +%dir %{_sysconfdir}/polkit-1/localauthority/*.d +%dir %{_sysconfdir}/polkit-1/localauthority.conf.d +%config(noreplace) %{_sysconfdir}/polkit-1/rules.d/49-polkit-pkla-compat.rules +%{_bindir}/pkla-admin-identities +%{_bindir}/pkla-check-authorization +%{_mandir}/man8/pkla-admin-identities.8* +%{_mandir}/man8/pkla-check-authorization.8* +%{_mandir}/man8/pklocalauthority.8* +%dir %attr(0750,root,polkitd) %{_localstatedir}/lib/polkit-1 +%dir %{_localstatedir}/lib/polkit-1/localauthority +%dir %{_localstatedir}/lib/polkit-1/localauthority/*.d + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Oct 21 2017 Miloslav Trmač - 0.1-11 +- Update URL: and Source0: to point to Pagure instead of fedorahosted.org + Resolves: #1502386 + +* Thu Aug 03 2017 Fedora Release Engineering - 0.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu May 9 2013 Miloslav Trmač - 0.1-2 +- Add a comment above License about SRPM-only licenses +- Reword Summary: to avoid a rpmlint warning +- Move INSTALL= to the %%install section + +* Tue May 7 2013 Miloslav Trmač - 0.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..57e6729 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (polkit-pkla-compat-0.1.tar.xz) = 968cf547db977731a6c6bb292fa86ef46a2ce8f74d008da62f219c20da8cdde94f6309dccba3be33d0111bfa34609799bdeee4d2464395c8837370d022d425c5