Accepting request 612667 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/612667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libidn2?expand=0&rev=8
This commit is contained in:
2018-05-30 09:41:39 +00:00
committed by Git OBS Bridge
6 changed files with 37 additions and 9 deletions

View File

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

Binary file not shown.

3
libidn2-2.0.5.tar.gz Normal file
View File

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

BIN
libidn2-2.0.5.tar.gz.sig Normal file

Binary file not shown.

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon May 28 14:28:16 UTC 2018 - astieger@suse.com
- update to 2.0.5:
* Switch the default library behavior to IDNA2008 as amended by
TR#46 (non-transitional). That default behavior is enabled when
no flags are specified to function calls. Applications can
utilize the %IDN2_NO_TR46 flag to switch to the unamended
IDNA2008. This is done in the interest of interoperability
based on the fact that this is what application writers care
about rather than strict compliance with a particular protocol
* Fixed memory leak in idn2_to_unicode_8zlz()
* Return error (IDN2_ICONV_FAIL) on charset conversion errors
* Fixed issue with STD3 rules applying in non-transitional TR46
mode
* idn2: added option --usestd3asciirules
- put translations into libidn2-lang
- correct location of install_info_prereq macro to be on tools
-------------------------------------------------------------------
Wed Aug 30 19:27:14 UTC 2017 - astieger@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package libidn2
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define lname libidn2-0
Name: libidn2
Version: 2.0.4
Version: 2.0.5
Release: 0
Summary: Support for Internationalized Domain Names (IDN) based on IDNA2008
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Url: https://www.gnu.org/software/libidn/#libidn2
Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
@@ -29,7 +29,6 @@ Source1: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
Source3: baselibs.conf
BuildRequires: libunistring-devel
BuildRequires: pkgconfig
Requires(post): %{install_info_prereq}
%description
An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
@@ -37,6 +36,7 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
%package tools
Summary: Command line utility to convert Int. Domain Names
Group: Productivity/Networking/DNS/Utilities
Requires(post): %{install_info_prereq}
%description tools
An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
@@ -44,6 +44,9 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
%package -n %{lname}
Summary: Support for Internationalized Domain Names (IDN)
Group: System/Libraries
Recommends: %{name}-lang = %{version}
# for lang package
Provides: %{name} = %{version}
%description -n %{lname}
An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
@@ -56,6 +59,8 @@ Requires: %{lname} = %{version}
%description devel
An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
%lang_package
%prep
%setup -q
@@ -73,6 +78,7 @@ make %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
# Do not bother with partial gtkdoc
rm -rf %{buildroot}/%{_datadir}/gtk-doc/
%find_lang %{name}
%check
make check %{?_smp_mflags}
@@ -87,10 +93,11 @@ make check %{?_smp_mflags}
%postun -n %{lname} -p /sbin/ldconfig
%files tools
%doc AUTHORS COPYING* ChangeLog NEWS README.md
%license COPYING*
%doc AUTHORS ChangeLog NEWS README.md
%{_infodir}/libidn*
%{_bindir}/idn2
%{_mandir}/man1/idn2.1%{ext_man}
%{_mandir}/man1/idn2.1%{?ext_man}
%files -n %{lname}
%{_libdir}/libidn2.so.*
@@ -101,4 +108,6 @@ make check %{?_smp_mflags}
%{_includedir}/*.h
%{_mandir}/man3/*
%files lang -f %{name}.lang
%changelog