Correct nonportable use of u_int* types, add a explicit dependency to

Tue, 28 Aug 2012 18:34:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:34:05 +0200
changeset 565
f6dc17424a45
parent 564
afdc12167a56
child 566
c371e003ecc3

Correct nonportable use of u_int* types, add a explicit dependency to
make for parallel building, and correct typical german english mistakes.

libidn/libidn.spec file | annotate | diff | comparison | revisions
     1.1 --- a/libidn/libidn.spec	Tue Aug 28 18:34:00 2012 +0200
     1.2 +++ b/libidn/libidn.spec	Tue Aug 28 18:34:05 2012 +0200
     1.3 @@ -32,14 +32,14 @@
     1.4  Group:        DNS
     1.5  License:      LGPL
     1.6  Version:      1.25
     1.7 -Release:      20120529
     1.8 +Release:      20120800
     1.9  
    1.10  #   list of sources
    1.11  Source0:      ftp://ftp.gnu.org/pub/gnu/libidn/libidn-%{version}.tar.gz
    1.12  Patch0:       libidn.patch
    1.13  
    1.14  #   build information
    1.15 -BuildPreReq:  OpenPKG, openpkg >= 20100101
    1.16 +BuildPreReq:  OpenPKG, openpkg >= 20100101, make
    1.17  PreReq:       OpenPKG, openpkg >= 20100101
    1.18  BuildPreReq:  libiconv
    1.19  PreReq:       libiconv
    1.20 @@ -59,7 +59,7 @@
    1.21      new Stringprep profile for your application within the API is
    1.22      straightforward. The Punycode API consists of one encoding function
    1.23      and one decoding function. The IDNA API consists of the ToASCII
    1.24 -    and ToUnicode functions, as well as an high-level interface for
    1.25 +    and ToUnicode functions, as well as an high level interface for
    1.26      converting entire domain names to and from the ACE encoded form.
    1.27  
    1.28  %track
    1.29 @@ -78,6 +78,9 @@
    1.30      %{l_shtool} subst \
    1.31          -e 's;^\(Libs: -L${libdir} -lidn\)$;\1 @LTLIBICONV@;' \
    1.32          libidn.pc.in
    1.33 +    %{l_shtool} subst \
    1.34 +        -e 's;^\(const gchar \*const g_utf8_skip\);static \1;' \
    1.35 +        lib/nfkc.c
    1.36  
    1.37  %build
    1.38      CC="%{l_cc}" \
    1.39 @@ -95,7 +98,7 @@
    1.40      %{l_make} %{l_mflags -O}
    1.41  
    1.42  %install
    1.43 -    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    1.44 +    %{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT"
    1.45      strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    1.46      rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
    1.47      rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/emacs

mercurial