rpms/rssh/devel rssh.spec,1.1,1.2
Ian Weller
ianweller at fedoraproject.org
Fri Oct 31 00:37:45 UTC 2008
Author: ianweller
Update of /cvs/pkgs/rpms/rssh/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28942
Modified Files:
rssh.spec
Log Message:
remove pre and post scripts per https://bugzilla.redhat.com/show_bug.cgi?id=456182#c17
Index: rssh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rssh/devel/rssh.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rssh.spec 29 Sep 2008 04:08:00 -0000 1.1
+++ rssh.spec 31 Oct 2008 00:37:14 -0000 1.2
@@ -1,6 +1,6 @@
Name: rssh
Version: 2.3.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Restricted shell for use with OpenSSH, allowing only scp and/or sftp
Group: Applications/Internet
License: BSD
@@ -46,19 +46,6 @@
getent group rsshusers >/dev/null || groupadd -r rsshusers
exit 0
-%post
-# Add rssh to the list of allowed shells in /etc/shells
-if ! grep %_bindir/rssh %_sysconfdir/shells >/dev/null; then
- echo %_bindir/rssh >>%_sysconfdir/shells
-fi
-
-%postun
-# Remove rssh from the list of allowed shells in /etc/shells
-if [ "$1" = 0 ]; then
- grep -v %_bindir/rssh %_sysconfdir/shells >%_sysconfdir/rssh.tmp
- mv %_sysconfdir/rssh.tmp %_sysconfdir/shells
-fi
-
%files
%defattr(-, root, root, -)
@@ -72,6 +59,9 @@
%changelog
+* Thu Oct 30 2008 Ian Weller <ianweller at gmail.com> - 2.3.2-5
+- Remove pre and post scripts
+ - https://bugzilla.redhat.com/show_bug.cgi?id=456182#c17
* Wed Aug 11 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 2.3.2-4
- Fix review issues and apply patch
More information about the scm-commits
mailing list