From 05ce8ea64a603e490b54aa00455b91c29e2a1350 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Fri, 30 Apr 2010 11:26:48 +0000 Subject: [PATCH] - Mark localized man pages with %lang. --- nmap.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nmap.spec b/nmap.spec index 2651bea..758f65a 100644 --- a/nmap.spec +++ b/nmap.spec @@ -4,7 +4,7 @@ Summary: Network exploration tool and security scanner Name: nmap Version: 5.21 -Release: 1%{?dist} +Release: 2%{?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) @@ -114,12 +114,13 @@ do done popd +%find_lang nmap --with-man %find_lang zenmap %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f nmap.lang %defattr(-,root,root) %doc COPYING* %doc docs/README @@ -129,7 +130,6 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/ndiff %{_mandir}/man1/ndiff.1.gz %{_mandir}/man1/nmap.1.gz -%{_mandir}/*/man1/nmap.1.gz %{_mandir}/man1/ncat.1.gz %{_datadir}/nmap %{_datadir}/ncat @@ -151,6 +151,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/xnmap.1.gz %changelog +* Fri Apr 30 2010 Ville Skyttä - 2:5.21-2 +- Mark localized man pages with %%lang. + * Mon Feb 01 2010 Michal Hlavinka - 2:5.21-1 - updated to 5.21