]> git.pld-linux.org Git - packages/authconfig.git/commitdiff
- no -> nb, remove empty trans., rel 6 auto/ac/authconfig-2_0-6
authorankry <ankry@pld-linux.org>
Sun, 25 Jul 2004 23:12:35 +0000 (23:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    authconfig.spec -> 1.37

authconfig.spec

index 9409f7b9d07c3ded27c18bacb4970a9d2249e57a..7d4e99d1fbd66582b15fb4fc7244dbce6a88d52a 100644 (file)
@@ -8,7 +8,7 @@ Summary(ru):    
 Summary(uk):   õÔÉ̦ÔÁ ÔÅËÓÔÏ×ÏÇÏ ÒÅÖÉÍÕ ÄÌÑ ÎÁÌÁÇÏÄÖÅÎÎÑ shadow ÔÁ NIS-ÐÁÒÏ̦×
 Name:          authconfig
 Version:       2.0
-Release:       5
+Release:       6
 License:       GPL
 Group:         Base
 Source0:       %{name}-%{version}.tar.gz
@@ -70,6 +70,8 @@ NIS 
 %setup -q
 %patch -p1
 
+mv po/{no,nb}.po
+
 %build
 %{__make} \
        CFLAGS="-DVERSION=\"${VERSION}\" %{rpmcflags} -Wall"
@@ -80,6 +82,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        INSTROOT=$RPM_BUILD_ROOT
 
+# remove empty translation files
+for f in $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/*.mo; do
+       [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f
+done
+
 %find_lang %{name}
 
 %clean
This page took 0.087594 seconds and 4 git commands to generate.