OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 28-Mar-2007 12:30:06 Branch: HEAD Handle: 2007032811300500 Modified files: openpkg-src/dsh dsh.spec Log: fix location of man pages and wrong paths in them Summary: Revision Changes Path 1.49 +9 -4 openpkg-src/dsh/dsh.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/dsh/dsh.spec ============================================================================ $ cvs diff -u -r1.48 -r1.49 dsh.spec --- openpkg-src/dsh/dsh.spec 1 Jan 2007 17:37:35 -0000 1.48 +++ openpkg-src/dsh/dsh.spec 28 Mar 2007 10:30:05 -0000 1.49 @@ -37,7 +37,7 @@ Group: SSH License: GPL Version: %{V_dsh} -Release: 20061013 +Release: 20070328 # list of sources Source0: http://www.netfort.gr.jp/~dancer/software/downloads/dsh-%{V_dsh}.tar.gz @@ -86,9 +86,10 @@ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ + --mandir=%{l_prefix}/man \ --disable-shared \ --disable-nls - %{l_shtool} subst -e 's;ssize_t;int;g' -- libdshconfig.c + %{l_shtool} subst -e 's;ssize_t;int;g' libdshconfig.c %{l_make} %{l_mflags -O} rm -f .libs/*.la* ) || exit $? @@ -98,7 +99,7 @@ -e 's;/etc\(/dsh/dsh.conf\);%{l_prefix}/etc\1;' \ -e 's;/etc\(/dsh/machines.list\);%{l_prefix}/etc\1;' \ -e 's;/etc\(/dsh/group\);%{l_prefix}/etc\1;' \ - -- dsh.1 + dsh.1 dsh.conf.5 CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags} -I`pwd`/libdshconfig-%{V_dshconfig}" \ @@ -107,6 +108,7 @@ ./configure \ --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc/dsh \ + --mandir=%{l_prefix}/man \ --disable-shared \ --disable-nls %{l_make} %{l_mflags -O} @@ -116,7 +118,10 @@ # perform standard installation procedure %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" - strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true + + # strip down installation + strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true + rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/?? >/dev/null 2>&1 || true # add reasonable default configuration %{l_shtool} mkdir -f -p -m 755 \ @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org