projects
/
platform
/
upstream
/
hostname.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8dfc2e
)
do not install french man pages
author
Anas Nashif
<anas.nashif@intel.com>
Sun, 9 Dec 2012 19:34:41 +0000
(11:34 -0800)
committer
Anas Nashif
<anas.nashif@intel.com>
Sun, 9 Dec 2012 19:35:54 +0000
(11:35 -0800)
packaging/hostname.spec
patch
|
blob
|
history
diff --git
a/packaging/hostname.spec
b/packaging/hostname.spec
index
13e411a
..
54f4903
100644
(file)
--- a/
packaging/hostname.spec
+++ b/
packaging/hostname.spec
@@
-15,15
+15,14
@@
DNS name, and to display or set its hostname or NIS domain name.
%setup -q -n hostname
%build
-iconv -f iso-8859-1 -t utf-8 -o hostname.tmp hostname.1.fr && mv hostname.tmp hostname.1.fr
make CFLAGS="%{optflags} $CFLAGS"
%install
make BASEDIR=%{buildroot} install
+# english is enough
+rm -rf %{buildroot}/usr/share/man/fr
-%find_lang %{name} --all-name --with-man
-
-%files -f %{name}.lang
+%files
%license COPYRIGHT
/bin/*
%{_mandir}/man1/*