From c49a12154820caa50b7a8efc3b1eaf96a7849bce Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 15:50:55 +0000 Subject: [PATCH] import UBI libpsl-0.21.5-6.el10 --- .gitignore | 2 +- .libpsl.metadata | 1 - SPECS/libpsl.spec => libpsl.spec | 103 +++++++++++++++++++++++++++---- sources | 1 + 4 files changed, 93 insertions(+), 14 deletions(-) delete mode 100644 .libpsl.metadata rename SPECS/libpsl.spec => libpsl.spec (70%) create mode 100644 sources diff --git a/.gitignore b/.gitignore index 8dc87aa..39c0cf6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libpsl-0.20.2.tar.gz +libpsl-0.21.5.tar.gz diff --git a/.libpsl.metadata b/.libpsl.metadata deleted file mode 100644 index 39736f2..0000000 --- a/.libpsl.metadata +++ /dev/null @@ -1 +0,0 @@ -890376d6038652911cfa853ccfb5b993ae0743ee SOURCES/libpsl-0.20.2.tar.gz diff --git a/SPECS/libpsl.spec b/libpsl.spec similarity index 70% rename from SPECS/libpsl.spec rename to libpsl.spec index 69ea346..e7bcba4 100644 --- a/SPECS/libpsl.spec +++ b/libpsl.spec @@ -1,10 +1,20 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 6; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + Name: libpsl -Version: 0.20.2 -Release: 6%{?dist} +Version: 0.21.5 +Release: %autorelease Summary: C library for the Publix Suffix List License: MIT URL: https://rockdaboot.github.io/libpsl -Source0: https://github.com/rockdaboot/libpsl/releases/download/libpsl-%{version}/libpsl-%{version}.tar.gz +Source0: https://github.com/rockdaboot/libpsl/releases/download/%{version}/libpsl-%{version}.tar.gz BuildRequires: gcc BuildRequires: gettext-devel BuildRequires: glib2-devel @@ -13,6 +23,7 @@ BuildRequires: libicu-devel BuildRequires: libidn2-devel BuildRequires: libunistring-devel BuildRequires: libxslt +BuildRequires: make BuildRequires: publicsuffix-list BuildRequires: python3-devel Requires: publicsuffix-list-dafsa @@ -59,6 +70,7 @@ is acceptable for domains and so on. %package -n psl-make-dafsa Summary: Compiles the Public Suffix List into DAFSA form +BuildArch: noarch %description -n psl-make-dafsa This script produces C/C++ code or an architecture-independent binary object @@ -67,9 +79,11 @@ from a plain text Public Suffix List. %prep -%setup -q +%autosetup -p1 rm -frv list -sed -i -e "1s|#!.*|#!%{__python3}|" src/psl-make-dafsa +ln -sv %{_datadir}/publicsuffix list +%py3_shebang_fix src/psl-make-dafsa + %build # Tarballs from github have 2 versions, one is raw files from repo, and @@ -105,18 +119,14 @@ sed -i libtool \ %make_build + %install %make_install -# the script is noinst but the manpage is installed -install -m0755 src/psl-make-dafsa %{buildroot}%{_bindir}/ - -find %{buildroot} -name '*.la' -delete -print %check make check || cat tests/test-suite.log -%ldconfig_scriptlets %files %license COPYING @@ -143,8 +153,75 @@ make check || cat tests/test-suite.log %{_mandir}/man1/psl-make-dafsa.1* %changelog -* Thu Jun 04 2020 Kamil Dudka - 0.20.2-6 -- increase release number (#1764048) +## START: Generated by rpmautospec +* Tue Oct 29 2024 Troy Dawson - 0.21.5-6 +- Bump release for October 2024 mass rebuild: + +* Tue Oct 08 2024 Jan Rybar - 0.21.5-5 +- enable c10s gating + +* Mon Jun 24 2024 Troy Dawson - 0.21.5-4 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 0.21.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.21.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 14 2024 Yaakov Selkowitz - 0.21.5-1 +- Update to 0.21.5 + +* Thu Aug 03 2023 Lukáš Zaoral - 0.21.2-5 +- migrate to SPDX license format + - the old and new license tags are identical, this changelog entry just + indicates that it was checked to be correct + +* Thu Jul 20 2023 Fedora Release Engineering - 0.21.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 16 2023 Yaakov Selkowitz - 0.21.2-3 +- Rebuilt for libunistring-1.1 +- Mark psl-make-dafsa noarch + +* Thu Jan 19 2023 Fedora Release Engineering - 0.21.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Dec 28 2022 Kamil Dudka - 0.21.2-1 +- update to 0.21.2 (#2156685) + +* Thu Jul 21 2022 Fedora Release Engineering - 0.21.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 0.21.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.21.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.21.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.21.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Kamil Dudka - 0.21.1-1 +- update to 0.21.1 (#1858489) + +* Thu Jan 30 2020 Kamil Dudka - 0.21.0-4 +- fix unnecessary build failure due to missing tree_index.sgml in gtk-doc output + +* Wed Jan 29 2020 Fedora Release Engineering - 0.21.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.21.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Apr 17 2019 Kamil Dudka - 0.21.0-1 +- update to 0.21.0 (#1700444) + +* Fri Feb 01 2019 Fedora Release Engineering - 0.20.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 27 2018 Kamil Dudka - 0.20.2-5 - avoid using rpath in the psl executable (#1533448) @@ -264,3 +341,5 @@ make check || cat tests/test-suite.log * Tue Apr 08 2014 Christopher Meng - 0.2-1 - Initial Package. + +## END: Generated by rpmautospec diff --git a/sources b/sources new file mode 100644 index 0000000..407f65d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libpsl-0.21.5.tar.gz) = c14d575cecc0f1693894dd79565b6b9220084ddfa43b908a1cefe16d147cdd5ec47796eb0c2135e2f829a951abaf39d8a371ab5c1352f57b36e610e25adf91f5