Accepting request 821658 from home:AndreasStieger:branches:network:utilities

libpsl 0.21.1

OBS-URL: https://build.opensuse.org/request/show/821658
OBS-URL: https://build.opensuse.org/package/show/network:utilities/libpsl?expand=0&rev=50
This commit is contained in:
Martin Pluskal 2020-07-20 05:05:06 +00:00 committed by Git OBS Bridge
parent 5505b07ef9
commit 7f50373d4c
7 changed files with 13 additions and 33 deletions

View File

@ -1,24 +0,0 @@
From f364cea73e351ce62e0b337fd1fbc21e70b52d56 Mon Sep 17 00:00:00 2001
From: Nikola Kotur <nikola@platform.sh>
Date: Thu, 2 Jul 2020 16:41:58 +0200
Subject: [PATCH] Update Platform.sh example in test data
---
tests/test-is-public-builtin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test-is-public-builtin.c b/tests/test-is-public-builtin.c
index e9963b5..ea3a434 100644
--- a/tests/test-is-public-builtin.c
+++ b/tests/test-is-public-builtin.c
@@ -82,8 +82,8 @@ static void test_psl(void)
{ ".forgot.his.name", 1, 1 },
{ "whoever.his.name", 0, 0 },
{ "whoever.forgot.his.name", 0, 0 },
- { "whatever.platform.sh", 1, 1 },
- { ".platform.sh", 1, 1 },
+ { "whatever.platformsh.site", 1, 1 },
+ { ".platformsh.site", 1, 1 },
{ "whatever.yokohama.jp", 1, 1 },
{ ".yokohama.jp", 1, 1 },
{ ".", 1, 0 }, /* special case */

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41bd1c75a375b85c337b59783f5deb93dbb443fb0a52d257f403df7bd653ee12
size 9217951

3
libpsl-0.21.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c
size 9199351

View File

@ -1,8 +1,8 @@
-------------------------------------------------------------------
Fri Jul 17 08:44:57 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- add libpsl-0.21.0-platform-sh-tests.patch to fix build with
platform.sh changes to publicsuffix
- update to 0.21.1:
* fix build with recent platform.sh changes to publicsuffix
-------------------------------------------------------------------
Sun May 19 13:11:18 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -19,14 +19,13 @@
%define somajor 5
Name: libpsl
Version: 0.21.0
Version: 0.21.1
Release: 0
Summary: C library for the Publix Suffix List
License: MIT AND MPL-2.0 AND BSD-3-Clause
Group: Development/Libraries/C and C++
Url: https://rockdaboot.github.io/libpsl
Source: https://github.com/rockdaboot/libpsl/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Patch0: libpsl-0.21.0-platform-sh-tests.patch
Source1000: baselibs.conf
BuildRequires: libidn2-devel >= 0.14
BuildRequires: libunistring-devel
@ -90,7 +89,6 @@ and sorting domain lists by site.
%prep
%setup -q
%patch0 -p1
# fix env shebang to call py3 directly
sed -i -e "1s|#!.*|#!%{_bindir}/python3|" src/psl-make-dafsa

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 17 08:44:57 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.21.1:
* no changes for psl-make-dafsa
-------------------------------------------------------------------
Sun Jun 2 18:39:53 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -18,7 +18,7 @@
Name: psl-make-dafsa
Version: 0.21.0
Version: 0.21.1
Release: 0
Summary: Tool to create a binary DAFSA from a Public Suffix List
License: BSD-3-Clause