[nmap/f12/master] - fix location of ja man page (#632104)
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Sep 17 08:29:41 UTC 2010
commit 5ef1fc03099958bdc23bcf6a2e671a153d0af16b
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Sep 17 10:29:34 2010 +0200
- fix location of ja man page (#632104)
nmap.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/nmap.spec b/nmap.spec
index 79eef59..fe2a1d1 100644
--- a/nmap.spec
+++ b/nmap.spec
@@ -4,7 +4,7 @@
Summary: Network exploration tool and security scanner
Name: nmap
Version: 5.21
-Release: 4%{?dist}
+Release: 5%{?dist}
# nmap is GPLv2
# zenmap is GPLv2 and LGPLv2+ (zenmap/higwidgets) and GPLv2+ (zenmap/radialnet)
# libdnet-stripped is BSD (advertising clause rescinded by the Univ. of California in 1999) with some parts as Public Domain (crc32)
@@ -66,6 +66,9 @@ sed -i -e "s|^locale_dir =.*$|locale_dir = os.path.join('share','locale')|" \
-e 's|join(self.install_data, data_dir)|join(self.install_data, "share")|' zenmap/setup.py
sed -i 's|^LOCALE_DIR = .*|LOCALE_DIR = join(prefix, "share", "locale")|' zenmap/zenmapCore/Paths.py
+#fix jp->ja locale
+sed -i '/ALL_LINGUAS =/s/jp/ja/' Makefile.in
+mv docs/man-xlate/nmap-jp.1 docs/man-xlate/nmap-ja.1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -163,6 +166,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/xnmap.1.gz
%changelog
+* Fri Sep 17 2010 Michal Hlavinka <mhlavink at redhat.com> - 2:5.21-5
+- fix location of ja man page (#632104)
+
* Thu Aug 19 2010 Michal Hlavinka <mhlavink at redhat.com> - 2:5.21-4
- update icon cache only after gui install
More information about the scm-commits
mailing list