Accepting request 490972 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/490972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libidn2?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2017-05-10 18:31:49 +00:00 committed by Git OBS Bridge
commit bc4f15f514
6 changed files with 39 additions and 35 deletions

View File

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

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

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

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

Binary file not shown.

View File

@ -1,26 +0,0 @@
Index: libidn2-0.16/Makefile.am
===================================================================
--- libidn2-0.16.orig/Makefile.am
+++ libidn2-0.16/Makefile.am
@@ -15,7 +15,7 @@
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-SUBDIRS = lib . src doc examples tests po
+SUBDIRS = lib . src doc tests po
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = m4/gnulib-cache.m4
Index: libidn2-0.16/Makefile.in
===================================================================
--- libidn2-0.16.orig/Makefile.in
+++ libidn2-0.16/Makefile.in
@@ -612,7 +612,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
-SUBDIRS = lib . src doc examples tests po
+SUBDIRS = lib . src doc tests po
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = m4/gnulib-cache.m4 CONTRIBUTING gen-tables-from-iana.pl \
$(IDNA_TABLE) $(TR46MAP) $(NFCQC) tr46map_data.c data.c

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Apr 25 09:18:59 UTC 2017 - pmonrealgonzalez@suse.com
- Sources updated from http://alpha.gnu.org to https://ftp.gnu.org
-------------------------------------------------------------------
Mon Apr 24 15:18:16 UTC 2017 - pmonrealgonzalez@suse.com
- Update to version 2.0.1
- Version 2.0.1 (released 2017-04-22)
* idn2 utility now using IDNA2008 + TR46 by default
- Version 2.0.0 (released 2017-03-29) [alpha]
* Version numbering scheme changed
* Added to ASCII conversion functions corresponding to libidn1
functions:
- idn2_to_ascii_4i - idn2_to_ascii_4z
- idn2_to_ascii_8z - idn2_to_ascii_lz
* Added to unicode conversion functions corresponding to libidn1
functions:
- idn2_to_unicode_8z4z - idn2_to_unicode_4z4z
- idn2_to_unicode_44i - idn2_to_unicode_8z8z
- idn2_to_unicode_8zlz - idn2_to_unicode_lzlz
* Including idn2.h will provide libidn1 compatibility functions
unless IDN2_SKIP_LIBIDN_COMPAT is defined. That allows converting
applications from libidn1 (which offers IDNA2003) to libidn2 (which
offers IDNA2008) by replacing idna.h to idn2.h in the applications'
source.
- Dropped patch not needed after revision
* libidn2-no-examples-build.patch
-------------------------------------------------------------------
Thu Jan 19 14:25:32 UTC 2017 - shshyukriev@suse.com

View File

@ -18,16 +18,15 @@
%define lname libidn2-0
Name: libidn2
Version: 0.16
Version: 2.0.1
Release: 0
Summary: Support for Internationalized Domain Names (IDN) based on IDNA2008
License: GPL-3.0+
Group: Development/Libraries/C and C++
Url: https://www.gnu.org/software/libidn/#libidn2
Source0: http://alpha.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
Source3: baselibs.conf
# PATCH-FIX-UPSTREAM: do not build non-installed examples needlessly
Patch0: libidn2-no-examples-build.patch
BuildRequires: libunistring-devel
BuildRequires: pkgconfig
Requires(post): %{install_info_prereq}
@ -60,7 +59,6 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
%prep
%setup -q
%patch0 -p1
%build
%configure \
@ -68,6 +66,7 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
--disable-silent-rules \
--disable-static \
--disable-gtk-doc
make %{?_smp_mflags}
%install
@ -90,7 +89,7 @@ make check %{?_smp_mflags}
%files tools
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog NEWS README
%doc AUTHORS COPYING* ChangeLog NEWS README.md
%{_infodir}/libidn*
%{_bindir}/idn2
%{_mandir}/man1/idn2.1%{ext_man}
@ -102,6 +101,7 @@ make check %{?_smp_mflags}
%files devel
%defattr(-,root,root)
%{_libdir}/libidn2.so
%{_libdir}/pkgconfig/libidn2.pc
%{_includedir}/*.h
%{_mandir}/man3/*