aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Menut <lmenut@mageia.org>2013-03-17 18:03:40 +0000
committerLuc Menut <lmenut@mageia.org>2013-03-17 18:03:40 +0000
commit4aeb4a8784d32492f708a8cf1836ec323e534478 (patch)
treeef293ec74f30b03fef1aa6c5bed8bb723c25a118
parent77d281626b8c9aadfb4b368f5ee4c78b4cebb5e5 (diff)
downloadrpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar.gz
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar.bz2
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.tar.xz
rpm-setup-4aeb4a8784d32492f708a8cf1836ec323e534478.zip
find-lang.pl : do not own man lang directories with --with-man1.168
patch from Thierry Vignaud (mga #3697, #9055)
-rw-r--r--NEWS4
-rw-r--r--configure.ac2
-rwxr-xr-xfind-lang.pl1
3 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 726a517..cb8f204 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Version 1.168 - 17 March 2013, by Luc Menut
+- fix find-lang.pl : do not own man lang directories with --with-man
+ (patch from Thierry Vignaud, mga #3697, #9055)
+
Version 1.167 - 20 Jan 2013, by Funda Wang
- fix bug#8757, gi-find-deps.sh incorrectly match 'imports.github'
diff --git a/configure.ac b/configure.ac
index 75aa6b1..c6b518f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
# $Id: configure.ac 271266 2010-11-04 10:43:28Z fwang $
AC_PREREQ(2.59)
-AC_INIT(rpm-mageia-setup, 1.167, rtp@mageia.org)
+AC_INIT(rpm-mageia-setup, 1.168, rtp@mageia.org)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.9 -Wno-portability no-dist-gzip dist-xz)
AC_CONFIG_SRCDIR
diff --git a/find-lang.pl b/find-lang.pl
index 3b622da..bb70618 100755
--- a/find-lang.pl
+++ b/find-lang.pl
@@ -73,6 +73,7 @@ open(my $hlang, '>', "$pkgname.lang") or die "cannot open $pkgname.lang\n";
foreach my $f (sort keys %finallist) {
my ($lang, @otherlang) = keys %{ $finallist{$f}{lang} || {} };
+ next if $withman && !$allname && $finallist{$f}{dir};
my $l = sprintf("%s%s%s",
$finallist{$f}{dir} ? '%dir ' : '',
@otherlang == 0 && $lang && $lang ne 'C'