[openwsman] Temporarily disable ruby subpackage
vcrhonek
vcrhonek at fedoraproject.org
Thu Feb 9 08:27:04 UTC 2012
commit 4e5ae91a5ac81c010f18a4e45d38db5a69fc7577
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date: Thu Feb 9 09:26:56 2012 +0100
Temporarily disable ruby subpackage
openwsman-2.2.7-disable-ruby.patch | 12 ++++++++++
openwsman.spec | 40 ++++++++++++++++++++---------------
2 files changed, 35 insertions(+), 17 deletions(-)
---
diff --git a/openwsman-2.2.7-disable-ruby.patch b/openwsman-2.2.7-disable-ruby.patch
new file mode 100644
index 0000000..6be6b49
--- /dev/null
+++ b/openwsman-2.2.7-disable-ruby.patch
@@ -0,0 +1,12 @@
+diff -up openwsman-2.2.7/CMakeLists.txt.ruby openwsman-2.2.7/CMakeLists.txt
+--- openwsman-2.2.7/CMakeLists.txt.ruby 2012-02-09 09:13:51.222066933 +0100
++++ openwsman-2.2.7/CMakeLists.txt 2012-02-09 09:14:01.059119669 +0100
+@@ -103,7 +103,7 @@ SET( BUILD_JAVA_EXPLICIT ${BUILD_JAVA})
+ OPTION( BUILD_LIBCIM "Build CIM plugin" YES )
+ OPTION( BUILD_EXAMPLES "Build examples" YES )
+ OPTION( BUILD_PYTHON "Build Python bindings" YES )
+-OPTION( BUILD_RUBY "Build Ruby bindings" YES )
++OPTION( BUILD_RUBY "Build Ruby bindings" NO )
+ OPTION( BUILD_PERL "Build Perl bindings" YES )
+ OPTION( BUILD_JAVA "Build Java bindings" YES )
+ OPTION( BUILD_CSHARP "Build C# bindings" YES)
diff --git a/openwsman.spec b/openwsman.spec
index e60e5ec..7e2f55a 100644
--- a/openwsman.spec
+++ b/openwsman.spec
@@ -9,11 +9,12 @@
Name: openwsman
BuildRequires: swig
BuildRequires: libcurl-devel libxml2-devel pam-devel sblim-sfcc-devel
-BuildRequires: python python-devel ruby ruby-devel ruby-rdoc perl
+#BuildRequires: python python-devel ruby ruby-devel ruby-rdoc perl
+BuildRequires: python python-devel perl
BuildRequires: perl-devel pkgconfig openssl-devel
BuildRequires: cmake
Version: 2.2.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Url: http://www.openwsman.org/
License: BSD
Group: Applications/System
@@ -23,6 +24,7 @@ Source: http://downloads.sourceforge.net/project/openwsman/%{name}/%{ver
Source1: openwsmand.8.gz
Patch0: %{name}-sitelibdir.patch
Patch1: openwsman-2.2.3-initscript.patch
+Patch2: openwsman-2.2.7-disable-ruby.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX)
%description
@@ -106,15 +108,15 @@ API.
-%package ruby
-License: BSD
-Group: Development/Libraries
-Requires: ruby
-Requires: ruby(abi) = 1.8
-Summary: Ruby bindings for openwsman client API
-
-%description ruby
-This package provides Ruby bindings to access the openwsman client API.
+#%package ruby
+#License: BSD
+#Group: Development/Libraries
+#Requires: ruby
+#Requires: ruby(abi) = 1.9.1
+#Summary: Ruby bindings for openwsman client API
+#
+#%description ruby
+#This package provides Ruby bindings to access the openwsman client API.
@@ -136,6 +138,7 @@ This package provides Perl bindings to access the openwsman client API.
# don't make backup of file patched by patch0, it'll be installed...
%patch0 -p1
%patch1 -p1 -b .initscript
+%patch2 -p1
%build
# Removing executable permissions on .c and .h files to fix rpmlint warnings.
@@ -237,13 +240,13 @@ fi
%{python_sitearch}/*.pyo
%doc AUTHORS COPYING ChangeLog README
-%files ruby
-%defattr(-,root,root,-)
+#%files ruby
+#%defattr(-,root,root,-)
#%{ruby_sitearch}/openwsman.so
-%{ruby_sitearch}/_openwsman.so
-%dir %{ruby_sitelib}/openwsman
-%{ruby_sitelib}/openwsman/*.rb
-%doc AUTHORS COPYING ChangeLog README
+#%{ruby_sitearch}/_openwsman.so
+#%dir %{ruby_sitelib}/openwsman
+#%{ruby_sitelib}/openwsman/*.rb
+#%doc AUTHORS COPYING ChangeLog README
%files perl
%defattr(-,root,root,-)
@@ -282,6 +285,9 @@ fi
%changelog
+* Thu Feb 09 2012 Vitezslav Crhonek <vcrhonek at redhat.com> - 2.2.7-3
+- Temporarily disable ruby subpackage
+
* Thu Jan 26 2012 Vitezslav Crhonek <vcrhonek at redhat.com> - 2.2.7-2
- Remove unnecessary net-tools requirement
Resolves: #784787
More information about the scm-commits
mailing list