[rubygem-qpid/f17] Removed Boost text from LICENSE. (rhbz#817639)

Darryl L. Pierce mcpierce at fedoraproject.org
Thu May 10 13:42:41 UTC 2012


commit a75f31bc2fc42e89c07e3db402449f6defb9d852
Author: Darryl L. Pierce <dpierce at redhat.com>
Date:   Thu May 10 09:27:41 2012 -0400

    Removed Boost text from LICENSE. (rhbz#817639)

 01-Remove-Boost-from-LICENSE.patch |   51 ++++++++++++++++++++++++++++++++++++
 rubygem-qpid.spec                  |   26 ++++++++++++++++--
 2 files changed, 74 insertions(+), 3 deletions(-)
---
diff --git a/01-Remove-Boost-from-LICENSE.patch b/01-Remove-Boost-from-LICENSE.patch
new file mode 100644
index 0000000..0b76e17
--- /dev/null
+++ b/01-Remove-Boost-from-LICENSE.patch
@@ -0,0 +1,51 @@
+From f69839784f8af9a3a51cb3c2ed868bede63b09d8 Mon Sep 17 00:00:00 2001
+From: "Darryl L. Pierce" <dpierce at redhat.com>
+Date: Thu, 10 May 2012 08:53:43 -0400
+Subject: [PATCH] Removed the Boost licensing text from the LICENSE file.
+
+The Ruby gem does not directly use any Boost code, so there's no reason
+to include the Boost license text.
+---
+ qpid/cpp/bindings/qpid/ruby/LICENSE |   29 -----------------------------
+ 1 files changed, 0 insertions(+), 29 deletions(-)
+
+diff --git a/qpid/cpp/bindings/qpid/ruby/LICENSE b/qpid/cpp/bindings/qpid/ruby/LICENSE
+index cff2a5e..232fd66 100644
+--- a/qpid/cpp/bindings/qpid/ruby/LICENSE
++++ b/qpid/cpp/bindings/qpid/ruby/LICENSE
+@@ -203,32 +203,3 @@
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-
+-=========================================================================
+-==  Boost License                                                      ==
+-=========================================================================
+-
+-Boost Software License - Version 1.0 - August 17th, 2003
+-
+-Permission is hereby granted, free of charge, to any person or organization
+-obtaining a copy of the software and accompanying documentation covered by
+-this license (the "Software") to use, reproduce, display, distribute,
+-execute, and transmit the Software, and to prepare derivative works of the
+-Software, and to permit third-parties to whom the Software is furnished to
+-do so, all subject to the following:
+-
+-The copyright notices in the Software and this entire statement, including
+-the above license grant, this restriction and the following disclaimer,
+-must be included in all copies of the Software, in whole or in part, and
+-all derivative works of the Software, unless such copies or derivative
+-works are solely in the form of machine-executable object code generated by
+-a source language processor.
+-
+-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+-FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+-SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+-FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+-DEALINGS IN THE SOFTWARE.
+-
+-- 
+1.7.7.6
+
diff --git a/rubygem-qpid.spec b/rubygem-qpid.spec
index fabb8b8..e2bd503 100644
--- a/rubygem-qpid.spec
+++ b/rubygem-qpid.spec
@@ -7,9 +7,8 @@
 Summary:       Ruby bindings for the Qpid messaging framework
 Name:          rubygem-%{gem_name}
 Version:       0.16.0
-Release:       10%{?dist}
+Release:       11%{?dist}
 Group:         Development/Languages
-# BZ#817639 to remove the Boost license text from LICENSE file
 License:       ASL 2.0
 URL:           http://qpid.apache.org
 # Eventually the gem will be moved to rubygems.org. Currently there's a gem
@@ -34,6 +33,9 @@ Requires:      ruby(rubygems)
 Requires:      ruby >= %{rubyabi}
 
 
+Patch1: 01-Remove-Boost-from-LICENSE.patch
+
+
 %description
 Qpid is an enterprise messaging framework. This package provides Ruby
 language bindings based on that framework.
@@ -52,13 +54,27 @@ Documentation for %{name}
 
 %prep
 %setup -q -c -T -n %{gem_name}-%{version}
+
+# apply patches
+pushd ..
+gem unpack %{SOURCE0}
+pushd %{gemname}-%{version}
+gem spec %{SOURCE0} --local --ruby > %{gemname}.spec
+
+%patch1 -p6
+
+gem build %{gemname}.spec
+popd
+popd
+
 mkdir -p .%{gem_dir}
 export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
 gem install --local --install-dir .%{gem_dir} \
             -V \
             --force \
             --rdoc \
-            %{SOURCE0}
+            ../%{gemname}-%{version}/%{gemname}-%{version}.gem
+            # %{SOURCE0}
 
 
 %build
@@ -105,6 +121,10 @@ popd
 
 
 %changelog
+* Thu May 10 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.16.0-11
+- Removed Boost licensing text from LICENSE.
+- Resolves: rhbz#817639/QPID-3992
+
 * Tue May  1 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.16.0-10
 - First official build for Fedora 17.
 


More information about the scm-commits mailing list