From 30d0a6524eb5ef87f844fe3df19a13308ab52cf8 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Feb 19 2007 14:07:02 +0000 Subject: - fix permissions of cvs.sh, add cvs.csh to /etc/profile.d (#225672) --- diff --git a/cvs.csh b/cvs.csh new file mode 100644 index 0000000..97a2afd --- /dev/null +++ b/cvs.csh @@ -0,0 +1,2 @@ +# change default from rsh to ssh for cvs command +setenv CVS_RSH "${CVS_RSH-ssh}" \ No newline at end of file diff --git a/cvs.spec b/cvs.spec index ce82a62..1af4412 100644 --- a/cvs.spec +++ b/cvs.spec @@ -6,13 +6,14 @@ Summary: A version control system Name: cvs Version: 1.11.22 -Release: 8%{?dist} +Release: 9%{?dist} License: GPL Group: Development/Tools Source0: ftp://ftp.gnu.org/non-gnu/cvs/source/stable/%{version}/cvs-%{version}.tar.bz2 Source1: cvs.xinetd Source2: cvs.pam Source3: cvs.sh +Source4: cvs.csh URL: http://www.cvshome.org/ Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -123,7 +124,8 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/%{name} %if %{pamified} install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/cvs %endif -install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/cvs.sh +install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/cvs.sh +install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/cvs.csh %clean @@ -155,7 +157,10 @@ exit 0 %{_sysconfdir}/profile.d/* %changelog -* Fri Jan 5 2007 Jindrich Novy -1.11.22-8 +* Mon Feb 19 2007 Jindrich Novy - 1.11.22-9 +- fix permissions of cvs.sh, add cvs.csh to /etc/profile.d (#225672) + +* Fri Jan 5 2007 Jindrich Novy - 1.11.22-8 - fix post/preun scriptlets so that they won't fail with docs disabled * Fri Dec 1 2006 Jindrich Novy - 1.11.22-7