rpms/viewvc/devel viewvc.spec,1.2,1.3

Bojan Smojver (bojan) fedora-extras-commits at redhat.com
Wed Mar 28 05:43:23 UTC 2007


Author: bojan

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

Modified Files:
	viewvc.spec 
Log Message:
Drop selinux package, required context now in official policy.



Index: viewvc.spec
===================================================================
RCS file: /cvs/extras/rpms/viewvc/devel/viewvc.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- viewvc.spec	9 Mar 2007 03:43:40 -0000	1.2
+++ viewvc.spec	28 Mar 2007 05:42:50 -0000	1.3
@@ -17,7 +17,7 @@
 
 Name:           viewvc
 Version:        1.0.3
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Browser interface for CVS and SVN version control repositories
 
 Group:          Development/Tools
@@ -50,16 +50,6 @@
 This version only supports CVS repositories.
 %endif
 
-%package selinux
-Summary:          SElinux file contexts for ViewVC
-Group:            Development/Tools
-Requires:         %{name} = %{version}-%{release}
-Requires(post):   policycoreutils
-Requires(postun): policycoreutils
-
-%description selinux
-SELinux file contexts for ViewVC
-
 %prep
 %setup -q
 %patch0 -p0 -b .temp-location
@@ -124,18 +114,6 @@
 %clean
 %{__rm} -rf %{buildroot}
 
-%post selinux
-# Set SELinux file context in the policy
-/usr/sbin/semanage fcontext -a -t httpd_sys_script_rw_t '%{_localstatedir}/spool/viewvc(/.*)?' 2>/dev/null || :
-# Actually change the context
-/sbin/restorecon -R %{_localstatedir}/spool/viewvc || :
-
-%postun selinux
-# SELinux support
-if [ $1 -eq 0 ]; then  # final removal
-  /usr/sbin/semanage fcontext -d -t httpd_sys_script_rw_t '%{_localstatedir}/spool/viewvc(/.*)?' 2>/dev/null || :
-fi
-
 %files
 %defattr(-, root, root, -)
 %doc CHANGES README INSTALL TODO COMMITTERS viewvc.org www
@@ -145,9 +123,10 @@
 %{_datadir}/*
 %attr(0700,apache,apache) %{_localstatedir}/spool/viewvc
 
-%files selinux
-
 %changelog
+* Thu Mar 22 2007 Bojan Smojver <bojan at rexursive.com> - 1.0.3-12
+- Drop selinux package, required context now in official policy
+
 * Fri Mar 09 2007 Bojan Smojver <bojan at rexursive.com> - 1.0.3-11
 - Bump for tag
 




More information about the fedora-extras-commits mailing list