Hello community,

here is the log from the commit of package rubygem-pry_debug for 
openSUSE:Factory checked in at 2013-06-06 12:59:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-pry_debug (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-pry_debug.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-pry_debug"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-pry_debug/rubygem-pry_debug.changes      
2012-07-22 15:21:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-pry_debug.new/rubygem-pry_debug.changes 
2013-06-06 12:59:09.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Jun  4 10:56:33 UTC 2013 - cfarr...@suse.com
+
+- license update: Zlib
+  See data/LICENSE
+
+-------------------------------------------------------------------
+Mon May 27 09:33:03 UTC 2013 - co...@suse.com
+
+- updated to version 0.1.0
+
+-------------------------------------------------------------------

Old:
----
  pry_debug-0.0.1.gem

New:
----
  pry_debug-0.1.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-pry_debug.spec ++++++
--- /var/tmp/diff_new_pack.ld9mkM/_old  2013-06-06 12:59:09.000000000 +0200
+++ /var/tmp/diff_new_pack.ld9mkM/_new  2013-06-06 12:59:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-pry_debug
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,21 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           rubygem-pry_debug
-Version:        0.0.1
+Version:        0.1.0
 Release:        0
-License:        MIT
-Summary:        A pure-ruby debugger
-Url:            http://github.com/Mon-Ouie/pry_debug
-Group:          Development/Languages/Ruby
 %define mod_name pry_debug
 %define mod_full_name %{mod_name}-%{version}
-Source:         %{mod_full_name}.gem
-BuildRequires:  rubygem-pry-0_9 >= 0.9.0
-BuildRequires:  rubygems_with_buildroot_patch
-Requires:       rubygem-pry-0_9 >= 0.9.0
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%rubygems_requires
+BuildRequires:  ruby-macros >= 1
+Url:            http://github.com/Mon-Ouie/pry_debug
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Summary:        A pure-ruby debugger
+License:        Zlib
+Group:          Development/Languages/Ruby
+%define mod_branch -%{version}
+%define mod_weight 0
+PreReq:         update-alternatives
 
 %description
 A pure-ruby debugger. No more puts "HERE!!!" or p :var => var, :other => other
@@ -54,13 +56,34 @@
 Test::Unit or RSpec files, useful for developers.
 
 %prep
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
+
 %build
+
 %install
-%gem_install %{SOURCE0}
+%gem_install -f
+mv %{buildroot}%{_bindir}/pry_debug{,%{mod_branch}}
+ln -s pry_debug%{mod_branch} %{buildroot}%{_bindir}/pry_debug
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/pry_debug pry_debug %{_bindir}/pry_debug%{mod_branch} 
%{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove pry_debug 
%{_bindir}/pry_debug%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/pry_debug
+%{_docdir}/%{name}
+%{_bindir}/pry_debug%{mod_branch}
+%ghost %{_bindir}/pry_debug
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to