]> git.pld-linux.org Git - packages/libidn.git/commitdiff
- use spec update date for info last updated date; rel 2
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 27 Aug 2008 23:03:46 +0000 (23:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libidn.spec -> 1.79

libidn.spec

index 59cba40be4e5f387f0842c236539ab1f8effd859..3fc577ea614e8df69bf42e4c6c262f821a8dd679 100644 (file)
@@ -21,7 +21,7 @@ Summary:      Internationalized string processing library
 Summary(pl.UTF-8):     Biblioteka do przetwarzania umiędzynarodowionych łańcuchów
 Name:          libidn
 Version:       1.10
-Release:       1
+Release:       2
 License:       LGPL v2.1+ (library), GPL v3+ (utilities)
 Group:         Libraries
 Source0:       http://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
@@ -147,6 +147,12 @@ domen).
 
 rm -f po/stamp-po
 
+# avoid different builds having different timestamps
+# see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2008-August/020363.html
+d='$Date: 2008-08-27 23:03:46 $'
+d=${d#\$Date: 2008-08-27 23:03:46 ${d%%%% *}; d=$(date -d "$d" '+%d %B %Y')
+%{__sed} -i -e "s,@value{UPDATED},$d,g" doc/libidn.texi
+
 %build
 %{__gettextize}
 %{__libtoolize}
This page took 0.074394 seconds and 4 git commands to generate.