Accepting request 561479 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/561479 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpsl?expand=0&rev=14
This commit is contained in:
commit
9a0f19ca24
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 20:38:32 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Make sure to use python3 during build instead of calling env
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 19:15:04 UTC 2017 - astieger@suse.com
|
||||
|
||||
|
12
libpsl.spec
12
libpsl.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libpsl
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 rpm@cicku.me
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -31,10 +31,7 @@ BuildRequires: libidn2-devel >= 0.14
|
||||
BuildRequires: libunistring-devel
|
||||
BuildRequires: pkgconfig >= 0.9.0
|
||||
BuildRequires: publicsuffix
|
||||
BuildRequires: python-base
|
||||
%if %{with gtk-doc}
|
||||
BuildRequires: gtk-doc >= 1.15
|
||||
%endif
|
||||
BuildRequires: python3-base
|
||||
|
||||
%description
|
||||
libpsl is a C library to handle the Public Suffix List. A "public suffix" is a
|
||||
@ -92,6 +89,8 @@ and sorting domain lists by site.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# fix env shebang to call py3 directly
|
||||
sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/psl-make-dafsa
|
||||
|
||||
%build
|
||||
# default is libicu, but this just too heavy dependency. This library is part of the
|
||||
@ -127,9 +126,6 @@ make %{?_smp_mflags} check || (cat tests/test-suite.log; exit 42)
|
||||
%{_includedir}/libpsl.h
|
||||
%{_libdir}/libpsl.so
|
||||
%{_libdir}/pkgconfig/libpsl.pc
|
||||
%if %{with gtk-doc}
|
||||
%{_datadir}/gtk-doc/html/libpsl/
|
||||
%endif
|
||||
|
||||
%files -n psl
|
||||
%doc AUTHORS NEWS COPYING
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 3 20:38:11 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Make sure to use python3 instead of env python call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 19:15:04 UTC 2017 - astieger@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package psl-make-dafsa
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 rpm@cicku.me
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -25,7 +25,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://rockdaboot.github.io/libpsl
|
||||
Source: https://github.com/rockdaboot/libpsl/releases/download/libpsl-%{version}/libpsl-%{version}.tar.gz
|
||||
Requires: python-base
|
||||
Requires: python3-base
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -38,8 +38,11 @@ This package is a build dependency for the publicsuffix package.
|
||||
|
||||
%prep
|
||||
%setup -q -n libpsl-%{version}
|
||||
# fix env shebang to call py3 directly
|
||||
sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/psl-make-dafsa
|
||||
|
||||
%build
|
||||
:
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
|
Loading…
Reference in New Issue
Block a user