[spacewalk-backend] forbid oracle submodule

Miroslav Suchý msuchy at fedoraproject.org
Wed Mar 7 12:25:45 UTC 2012


commit 75cfa3707bee191d56aea8fecc567b6486b7e640
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Wed Mar 7 13:22:36 2012 +0100

    forbid oracle submodule

 spacewalk-backend.spec |   28 +++++++++++++++-------------
 1 files changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/spacewalk-backend.spec b/spacewalk-backend.spec
index 93d4905..8c308c5 100644
--- a/spacewalk-backend.spec
+++ b/spacewalk-backend.spec
@@ -63,15 +63,15 @@ Requires: %{name}-sql-virtual = %{version}-%{release}
 This package contains the basic code that provides SQL connectivity for
 the Spacewalk backend modules.
 
-%package sql-oracle
-Summary: Oracle backend for Spacewalk
-Group: Applications/Internet
-Requires: python(:DBAPI:oracle)
-Provides: %{name}-sql-virtual = %{version}-%{release}
-
-%description sql-oracle
-This package contains provides Oracle connectivity for the Spacewalk backend
-modules.
+#%package sql-oracle
+#Summary: Oracle backend for Spacewalk
+#Group: Applications/Internet
+#Requires: python(:DBAPI:oracle)
+#Provides: %{name}-sql-virtual = %{version}-%{release}
+#
+#%description sql-oracle
+#This package contains provides Oracle connectivity for the Spacewalk backend
+#modules.
 
 %package sql-postgresql
 Summary: Postgresql backend for Spacewalk
@@ -299,6 +299,8 @@ rm -v $RPM_BUILD_ROOT/%{apacheconfd}/zz-spacewalk-server-python.conf
 
 %find_lang %{name}-server
 
+rm -f $RPM_BUILD_ROOT/%{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -388,10 +390,10 @@ rm -f %{rhnconf}/rhnSecret.py*
 %{pythonrhnroot}/server/rhnSQL/__init__.py*
 %{pythonrhnroot}/server/rhnSQL/sql_*.py*
 
-%files sql-oracle
-%defattr(-,root,root,-)
-%doc LICENSE
-%{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
+#%files sql-oracle
+#%defattr(-,root,root,-)
+#%doc LICENSE
+#%{pythonrhnroot}/server/rhnSQL/driver_cx_Oracle.py*
 
 %files sql-postgresql
 %defattr(-,root,root,-)


More information about the scm-commits mailing list