rpms/scponly/devel scponly.spec,1.4,1.5

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Tue Jun 27 18:24:12 UTC 2006


Author: toshio

Update of /cvs/extras/rpms/scponly/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30367

Modified Files:
	scponly.spec 
Log Message:
- Add BR: openssh-server so sftp-server is present.
- Make source files nonexecutable so they are nonexecutable in debuginfo.
- Mark the scponly configuration files as %config.



Index: scponly.spec
===================================================================
RCS file: /cvs/extras/rpms/scponly/devel/scponly.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scponly.spec	27 Jun 2006 08:09:09 -0000	1.4
+++ scponly.spec	27 Jun 2006 18:24:12 -0000	1.5
@@ -1,7 +1,7 @@
 Summary: Restricted shell for ssh based file services
 Name: scponly
 Version: 4.6
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD
 Group: Applications/Internet
 URL: http://sublimation.org/scponly/
@@ -11,6 +11,7 @@
 
 # Checks only for location of binaries
 BuildRequires: openssh-clients >= 3.4
+BuildRequires: openssh-server
 BuildRequires: rsync
 
 %description
@@ -30,6 +31,9 @@
 %{__make} %{?_smp_mflags} \
 	OPTS="%{optflags}"
 
+# Remove executable bit so the debuginfo does not hae executable source files
+chmod 0644 scponly.c scponly.h helper.c
+
 %install
 %{__rm} -rf %{buildroot}
 
@@ -47,9 +51,15 @@
 %doc %{_mandir}/man8/scponly.8*
 %{_bindir}/scponly
 %{_sbindir}/scponlyc
-%{_sysconfdir}/scponly/
+%dir %{_sysconfdir}/scponly/
+%config(noreplace) %{_sysconfdir}/scponly/*
 
 %changelog
+* Tue Jun 27 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 4.6-5
+- Add BR: openssh-server so sftp-server is present.
+- Make source files nonexecutable so they are nonexecutable in debuginfo.
+- Mark the scponly configuration files as %%config.
+
 * Sun Jun 25 2006 Toshio Kuratomi <toshio at tiki-lounge.com> - 4.6-4
 - --enable-chrooted-binary creates a binary that will operate in a chroot
   environment.  It does not manage creation and updating of a chroot jail.




More information about the fedora-extras-commits mailing list