diff -r afdc12167a56 -r f6dc17424a45 libidn/libidn.spec --- a/libidn/libidn.spec Tue Aug 28 18:34:00 2012 +0200 +++ b/libidn/libidn.spec Tue Aug 28 18:34:05 2012 +0200 @@ -32,14 +32,14 @@ Group: DNS License: LGPL Version: 1.25 -Release: 20120529 +Release: 20120800 # list of sources Source0: ftp://ftp.gnu.org/pub/gnu/libidn/libidn-%{version}.tar.gz Patch0: libidn.patch # build information -BuildPreReq: OpenPKG, openpkg >= 20100101 +BuildPreReq: OpenPKG, openpkg >= 20100101, make PreReq: OpenPKG, openpkg >= 20100101 BuildPreReq: libiconv PreReq: libiconv @@ -59,7 +59,7 @@ new Stringprep profile for your application within the API is straightforward. The Punycode API consists of one encoding function and one decoding function. The IDNA API consists of the ToASCII - and ToUnicode functions, as well as an high-level interface for + and ToUnicode functions, as well as an high level interface for converting entire domain names to and from the ACE encoded form. %track @@ -78,6 +78,9 @@ %{l_shtool} subst \ -e 's;^\(Libs: -L${libdir} -lidn\)$;\1 @LTLIBICONV@;' \ libidn.pc.in + %{l_shtool} subst \ + -e 's;^\(const gchar \*const g_utf8_skip\);static \1;' \ + lib/nfkc.c %build CC="%{l_cc}" \ @@ -95,7 +98,7 @@ %{l_make} %{l_mflags -O} %install - %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/emacs