commit rubygem-ruby-dbus for openSUSE:Factory

2018-07-13 Thread root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2018-07-13 10:14:01

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Fri Jul 13 10:14:01 2018 rev:21 rq:621033 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2017-10-23 16:37:00.618403785 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2018-07-13 10:14:03.781936674 +0200
@@ -1,0 +2,25 @@
+Mon Apr 30 16:14:23 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 0.15.0
+ see installed NEWS.md
+
+  ## Ruby D-Bus 0.15.0 - 2018-04-30
+  
+  API:
+   * Accessing an unknown interface will raise instead of returning nil 
([#74]).
+  
+  Bug fixes:
+   * Fixed a conflict with activesupport 5.2 ([#71])
+  
+  [#71]: https://github.com/mvidner/ruby-dbus/issues/71
+  [#74]: https://github.com/mvidner/ruby-dbus/pull/74
+
+---
+Fri Jan  5 14:37:21 UTC 2018 - mvid...@suse.com
+
+- 0.14.1
+ Bug fixes:
+ * Allow registering signal handlers while a signal is being handled
+   (gh#mvidner/ruby-dbus#70, Jan Biniok).
+
+---

Old:

  ruby-dbus-0.14.0.gem

New:

  ruby-dbus-0.15.0.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.CsewjE/_old  2018-07-13 10:14:04.189937153 +0200
+++ /var/tmp/diff_new_pack.CsewjE/_new  2018-07-13 10:14:04.189937153 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ruby-dbus
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ruby-dbus
-Version:0.14.0
+Version:0.15.0
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -40,11 +40,11 @@
 BuildRequires:  %{ruby >= 2.0.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:https://trac.luon.net/ruby-dbus
+Url:https://github.com/mvidner/ruby-dbus
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Ruby module for interaction with D-Bus
-License:LGPL-2.1
+License:LGPL-2.1-only
 Group:  Development/Languages/Ruby
 
 %description

++ ruby-dbus-0.14.0.gem -> ruby-dbus-0.15.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NEWS.md new/NEWS.md
--- old/NEWS.md 2017-10-13 14:51:28.0 +0200
+++ new/NEWS.md 2018-04-30 17:10:48.0 +0200
@@ -2,6 +2,25 @@
 
 ## Unreleased
 
+## Ruby D-Bus 0.15.0 - 2018-04-30
+
+API:
+ * Accessing an unknown interface will raise instead of returning nil ([#74]).
+
+Bug fixes:
+ * Fixed a conflict with activesupport 5.2 ([#71])
+
+[#71]: https://github.com/mvidner/ruby-dbus/issues/71
+[#74]: https://github.com/mvidner/ruby-dbus/pull/74
+
+## Ruby D-Bus 0.14.1 - 2018-01-05
+
+Bug fixes:
+ * Allow registering signal handlers while a signal is being handled
+   ([#70][], Jan Biniok).
+
+[#70]: https://github.com/mvidner/ruby-dbus/pull/70
+
 ## Ruby D-Bus 0.14.0 - 2017-10-13
 
 Bug fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2017-10-13 14:51:28.0 +0200
+++ new/README.md   2018-04-30 17:10:48.0 +0200
@@ -18,7 +18,7 @@
 [Coverage Status]: https://coveralls.io/r/mvidner/ruby-dbus
 
 [GV img]: https://badge.fury.io/rb/ruby-dbus.png
-[BS img]: https://travis-ci.org/mvidner/ruby-dbus.png
+[BS img]: https://travis-ci.org/mvidner/ruby-dbus.png?branch=master
 [DS img]: https://gemnasium.com/mvidner/ruby-dbus.png
 [CC img]: https://codeclimate.com/github/mvidner/ruby-dbus.png
 [CS img]: https://coveralls.io/repos/mvidner/ruby-dbus/badge.png?branch=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2017-10-13 14:51:28.0 +0200
+++ new/Rakefile2018-04-30 17:10:48.0 +0200
@@ -29,7 +29,7 @@
 
 RSpec::Core::RakeTask.new("bare:spec")
 
-%w(spec).each do |tname|
+["spec"].each do |tname|
   desc "Run bare:#{tname} in the proper environment"
   task tname do |_t|
 cd "spec/tools" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.sv

commit rubygem-ruby-dbus for openSUSE:Factory

2017-10-23 Thread root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2017-10-23 16:36:55

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Mon Oct 23 16:36:55 2017 rev:20 rq:533936 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2016-09-17 14:38:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2017-10-23 16:37:00.618403785 +0200
@@ -1,0 +2,19 @@
+Fri Oct 13 12:38:54 UTC 2017 - mvid...@suse.com
+
+- 0.14.0
+ Bug fixes:
+ * Sending 16-bit signed integers ("n") did not work at all
+   (gh#mvidner/ruby-dbus#68).
+
+ Requirements:
+ * Stopped supporting ruby 2.0.0, because of Nokogiri.
+
+---
+Wed Sep 21 20:18:19 UTC 2016 - mvid...@suse.com
+
+- 0.13.0
+ Bug fixes:
+ * It is no longer required to explicitly call ProxyObject#introspect,
+   it will be done automatically once (gh#mvidner/ruby-dbus#28).
+
+---

Old:

  ruby-dbus-0.12.0.gem

New:

  ruby-dbus-0.14.0.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.sieQEG/_old  2017-10-23 16:37:01.426365960 +0200
+++ /var/tmp/diff_new_pack.sieQEG/_new  2017-10-23 16:37:01.430365772 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ruby-dbus
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ruby-dbus
-Version:0.12.0
+Version:0.14.0
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -41,7 +41,7 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 Url:https://trac.luon.net/ruby-dbus
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:Ruby module for interaction with D-Bus
 License:LGPL-2.1
@@ -56,7 +56,7 @@
 
 %install
 %gem_install \
-  --doc-files="COPYING NEWS README.md" \
+  --doc-files="COPYING NEWS.md README.md" \
   -f
 
 # MANUAL

++ ruby-dbus-0.12.0.gem -> ruby-dbus-0.14.0.gem ++
 4779 lines of diff (skipped)




commit rubygem-ruby-dbus for openSUSE:Factory

2016-09-17 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2016-09-17 14:38:47

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2016-05-19 12:04:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2016-09-17 14:38:50.0 +0200
@@ -1,0 +2,19 @@
+Mon Sep 12 19:51:17 UTC 2016 - mvid...@suse.com
+
+- 0.12.0
+ API:
+ * Added proxy objects whose methods return single values instead of arrays
+   (use Service#[] instead of Service#object; Issue#30).
+
+ Requirements:
+ * Require ruby 2.0.0, stopped supporting 1.9.3.
+
+---
+Sun Sep 11 10:47:10 UTC 2016 - mvid...@suse.com
+
+- 0.11.2:
+ Bug fixes:
+ * Fixed reading a quoted session bus address, as written by dbus-1.10.10
+   (Yasuhiro Asaka)
+
+---

Old:

  ruby-dbus-0.11.1.gem

New:

  ruby-dbus-0.12.0.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.RLqTig/_old  2016-09-17 14:38:51.0 +0200
+++ /var/tmp/diff_new_pack.RLqTig/_new  2016-09-17 14:38:51.0 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-ruby-dbus
-Version:0.11.1
+Version:0.12.0
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -37,7 +37,7 @@
 BuildRequires:  netcfg
 # /MANUAL
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 1.9.3}
+BuildRequires:  %{ruby >= 2.0.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 Url:https://trac.luon.net/ruby-dbus

++ ruby-dbus-0.11.1.gem -> ruby-dbus-0.12.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NEWS new/NEWS
--- old/NEWS2016-05-12 21:53:52.0 +0200
+++ new/NEWS2016-09-12 21:59:59.0 +0200
@@ -5,6 +5,23 @@
  Issue#1  - http://github.com/mvidner/ruby-dbus/issues#issue/1
  bnc#1- https://bugzilla.novell.com/show_bug.cgi?id=1
 
+== Unreleased
+
+== Ruby D-Bus 0.12.0 - 2016-09-12
+
+API:
+ * Added proxy objects whose methods return single values instead of arrays
+   (use Service#[] instead of Service#object; Issue#30).
+
+Requirements:
+ * Require ruby 2.0.0, stopped supporting 1.9.3.
+
+== Ruby D-Bus 0.11.2 - 2016-09-11
+
+Bug fixes:
+ * Fixed reading a quoted session bus address, as written by dbus-1.10.10
+   (Yasuhiro Asaka)
+
 == Ruby D-Bus 0.11.1 - 2016-05-12
 
 Bug fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2016-05-12 21:53:52.0 +0200
+++ new/README.md   2016-09-12 21:59:59.0 +0200
@@ -31,7 +31,7 @@
 require "dbus"
 sysbus = DBus.system_bus
 upower_service   = sysbus["org.freedesktop.UPower"]
-upower_object= upower_service.object "/org/freedesktop/UPower"
+upower_object= upower_service["/org/freedesktop/UPower"]
 upower_object.introspect
 upower_interface = upower_object["org.freedesktop.UPower"]
 on_battery   = upower_interface["OnBattery"]
@@ -43,7 +43,7 @@
 
 ## Requirements
 
-- Ruby 1.9.3 or 2.0
+- Ruby 2.0 or newer.
 
 
 ## Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2016-05-12 21:53:52.0 +0200
+++ new/VERSION 2016-09-12 21:59:59.0 +0200
@@ -1 +1 @@
-0.11.1
+0.12.0
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doc/Reference.md new/doc/Reference.md
--- old/doc/Reference.md2016-05-12 21:53:52.0 +0200
+++ new/doc/Reference.md2016-09-12 21:59:59.0 +0200
@@ -24,7 +24,7 @@
 
 1. {DBus.session_bus Connect to the session bus};
{DBus::Connection#[] get the screensaver service}
-   {DBus::Service#object and its screensaver object}.
+   {DBus::Service#[] and its screensaver object}.
 2. Perform {DBus::ProxyObject#introspect explicit introspection}
to define the interfaces and methods
on the {DBus::ProxyObject object proxy}
@@ -32,9 +32,10 @@
 3. Call one of its methods in a loop, solving [xkcd#196](http://xkcd.com/196).
 
  
+
 mybus = DBus.session_bus
 service = mybus['org.freedesktop.ScreenSaver']
-object = service.object '/ScreenSaver'
+object = service['/Scr

commit rubygem-ruby-dbus for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2016-05-19 12:04:22

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2014-10-20 07:27:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2016-05-19 12:04:24.0 +0200
@@ -1,0 +2,11 @@
+Thu May 12 19:31:16 UTC 2016 - mvid...@suse.com
+
+- 0.11.1
+ Bug fixes:
+ * Fix default path finding on FreeBSD (Greg)
+ * Service#unexport fixed to really return the unexported object
+
+ Requirements:
+ * made tests compatible with RSpec 3
+
+---

Old:

  ruby-dbus-0.11.0.gem

New:

  ruby-dbus-0.11.1.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.GNaJZ8/_old  2016-05-19 12:04:24.0 +0200
+++ /var/tmp/diff_new_pack.GNaJZ8/_new  2016-05-19 12:04:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ruby-dbus
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,12 @@
 #
 
 Name:   rubygem-ruby-dbus
-Version:0.11.0
+Version:0.11.1
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
 # MANUAL
-BuildRequires:  %{rubygem nokogiri}
+BuildRequires:  %{rubygem nokogiri > 1.6}
 BuildRequires:  %{rubygem packaging_rake_tasks}
 BuildRequires:  %{rubygem rake}
 BuildRequires:  %{rubygem rspec}
@@ -56,13 +56,12 @@
 
 %install
 %gem_install \
-  --doc-files="COPYING README.md" \
+  --doc-files="COPYING NEWS README.md" \
   -f
 
 # MANUAL
 %check
-cd %{buildroot}/%{gem_base}/gems//%{mod_full_name}/test
-rake test TESTOPTS=-v
+(pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
 #/ MANUAL
 
 %gem_packages

++ gem2rpm.yml ++
--- /var/tmp/diff_new_pack.GNaJZ8/_old  2016-05-19 12:04:24.0 +0200
+++ /var/tmp/diff_new_pack.GNaJZ8/_new  2016-05-19 12:04:24.0 +0200
@@ -38,9 +38,7 @@
 #   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
 # ## used by gem2rpm
 :testsuite_command: |-
-  cd %{buildroot}/%{gem_base}/gems//%{mod_full_name}/test
-  rake test TESTOPTS=-v
-#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
+  (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
 # ## used by gem2rpm
 # :filelist: |-
 #   /usr/bin/gem2rpm-opensuse
@@ -75,9 +73,9 @@
 Provides:   ruby-dbus = %{version}
 Obsoletes:  ruby-dbus < %{version}
 :preamble: |-
-  BuildRequires:  %{rubygem rake}
+  BuildRequires:  %{rubygem nokogiri > 1.6}
   BuildRequires:  %{rubygem packaging_rake_tasks}
-  BuildRequires:  %{rubygem nokogiri}
+  BuildRequires:  %{rubygem rake}
   BuildRequires:  %{rubygem rspec}
   BuildRequires:  dbus-1
   BuildRequires:  netcfg

++ ruby-dbus-0.11.0.gem -> ruby-dbus-0.11.1.gem ++
 3306 lines of diff (skipped)




commit rubygem-ruby-dbus for openSUSE:Factory

2014-10-19 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2014-10-20 07:27:01

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2014-02-19 18:54:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2014-10-20 07:27:02.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 16 06:43:05 UTC 2014 - co...@suse.com
+
+- adapt to new rubygem packaging
+
+---

New:

  gem2rpm.yml



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.H09kir/_old  2014-10-20 07:27:02.0 +0200
+++ /var/tmp/diff_new_pack.H09kir/_new  2014-10-20 07:27:02.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-ruby-dbus
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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,82 +15,56 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
+
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-ruby-dbus
 Version:0.11.0
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
-Provides:   ruby-dbus = %{version}
-Obsoletes:  ruby-dbus < %{version}
-#
-Group:  Development/Languages/Ruby
-License:LGPL-2.1
-#
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  rubygems_with_buildroot_patch
-BuildRequires:  rubygem-rake
-BuildRequires:  rubygem-packaging_rake_tasks
-BuildRequires:  rubygem-nokogiri
-BuildRequires:  rubygem-rspec
+# MANUAL
+BuildRequires:  %{rubygem nokogiri}
+BuildRequires:  %{rubygem packaging_rake_tasks}
+BuildRequires:  %{rubygem rake}
+BuildRequires:  %{rubygem rspec}
 BuildRequires:  dbus-1
 BuildRequires:  netcfg
-
-%rubygems_requires
-
-Requires:   ruby >= 1.9.3
-BuildRequires:  ruby-devel >= 1.9.3
-#
+# /MANUAL
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby >= 1.9.3}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  ruby-macros >= 5
 Url:https://trac.luon.net/ruby-dbus
-Source: %{mod_full_name}.gem
-#
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:Ruby module for interaction with D-Bus
-%description
-Ruby module for interaction with D-Bus
-
-%package doc
-Summary:RDoc documentation for %{mod_name}
+License:LGPL-2.1
 Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
 
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
+%description
+Pure Ruby module for interaction with D-Bus IPC system.
 
 %prep
-%gem_unpack
-%gem_build
 
 %build
+
 %install
-%gem_install -f
+%gem_install \
+  --doc-files="COPYING README.md" \
+  -f
 
+# MANUAL
 %check
-cd %{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test
+cd %{buildroot}/%{gem_base}/gems//%{mod_full_name}/test
 rake test TESTOPTS=-v
+#/ MANUAL
 
-%clean
-%{__rm} -rf %{buildroot}
-
-%files
-%defattr(-,root,root,-)
-%{_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
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%gem_packages
 
 %changelog

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
:license: LGPL-2.1
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm an

commit rubygem-ruby-dbus for openSUSE:Factory

2014-02-19 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2014-02-19 18:54:56

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2014-02-12 22:05:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2014-02-19 18:54:59.0 +0100
@@ -1,0 +2,10 @@
+Mon Feb 17 21:41:03 UTC 2014 - mvid...@suse.com
+
+- 0.11.0
+ API:
+ * Connection: split off MessageQueue, marked other methods as private.
+
+ Requirements:
+ * converted tests to RSpec, rather mechanically for now
+
+---

Old:

  ruby-dbus-0.10.0.gem

New:

  ruby-dbus-0.11.0.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.jaWCDb/_old  2014-02-19 18:55:00.0 +0100
+++ /var/tmp/diff_new_pack.jaWCDb/_new  2014-02-19 18:55:00.0 +0100
@@ -17,7 +17,7 @@
 
 # norootforbuild
 Name:   rubygem-ruby-dbus
-Version:0.10.0
+Version:0.11.0
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -32,6 +32,7 @@
 BuildRequires:  rubygem-rake
 BuildRequires:  rubygem-packaging_rake_tasks
 BuildRequires:  rubygem-nokogiri
+BuildRequires:  rubygem-rspec
 BuildRequires:  dbus-1
 BuildRequires:  netcfg
 

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



commit rubygem-ruby-dbus for openSUSE:Factory

2014-02-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2014-02-12 22:05:06

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2014-01-03 14:54:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2014-02-12 22:05:07.0 +0100
@@ -1,0 +2,11 @@
+Fri Jan 10 10:28:49 UTC 2014 - mvid...@suse.com
+
+- 0.10.0
+ Bug fixes:
+ * fixed "Interfaces added with singleton_class.instance_eval aren't
+   exported" (Issue#22, by miaoufkirsh)
+
+ Requirements:
+ * Require ruby 1.9.3, stopped supporting 1.8.7.
+
+---

Old:

  ruby-dbus-0.9.3.gem

New:

  ruby-dbus-0.10.0.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.H2W52L/_old  2014-02-12 22:05:07.0 +0100
+++ /var/tmp/diff_new_pack.H2W52L/_new  2014-02-12 22:05:07.0 +0100
@@ -17,7 +17,7 @@
 
 # norootforbuild
 Name:   rubygem-ruby-dbus
-Version:0.9.3
+Version:0.10.0
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -37,8 +37,8 @@
 
 %rubygems_requires
 
-Requires:   ruby >= 1.8.7
-BuildRequires:  ruby-devel >= 1.8.7
+Requires:   ruby >= 1.9.3
+BuildRequires:  ruby-devel >= 1.9.3
 #
 Url:https://trac.luon.net/ruby-dbus
 Source: %{mod_full_name}.gem
@@ -72,7 +72,7 @@
 
 %check
 cd %{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test
-rake test
+rake test TESTOPTS=-v
 
 %clean
 %{__rm} -rf %{buildroot}

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



commit rubygem-ruby-dbus for openSUSE:Factory

2014-01-03 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2014-01-03 14:53:59

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2013-05-13 15:31:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2014-01-03 14:54:00.0 +0100
@@ -1,0 +2,11 @@
+Thu Jan  2 17:01:54 UTC 2014 - mvid...@suse.com
+
+- 0.9.3
+ Bug fixes:
+ * re-added COPYING, NEWS, README.md to the gem (Issue#47,
+   by Cédric Boutillier)
+
+ Packaging:
+ * use packaging_rake_tasks
+
+---

Old:

  ruby-dbus-0.9.2.gem

New:

  ruby-dbus-0.9.3.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.F3pHz4/_old  2014-01-03 14:54:00.0 +0100
+++ /var/tmp/diff_new_pack.F3pHz4/_new  2014-01-03 14:54:00.0 +0100
@@ -17,7 +17,7 @@
 
 # norootforbuild
 Name:   rubygem-ruby-dbus
-Version:0.9.2
+Version:0.9.3
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -30,6 +30,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 BuildRequires:  rubygem-rake
+BuildRequires:  rubygem-packaging_rake_tasks
 BuildRequires:  rubygem-nokogiri
 BuildRequires:  dbus-1
 BuildRequires:  netcfg

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



commit rubygem-ruby-dbus for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2013-05-13 15:31:51

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2013-05-02 11:58:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2013-05-13 15:31:52.0 +0200
@@ -1,0 +2,13 @@
+Wed May  8 15:46:08 UTC 2013 - mvid...@suse.com
+
+- 0.9.2
+ Features:
+ * Ruby strings can be passed where byte arrays ("ay") are expected 
+   (Issue#40, by Jesper B. Rosenkilde)
+
+ Bug fixes:
+ * Fixed accessing ModemManager properties (Issue#41, reported
+   by Ernest Bursa). MM introspection produces two elements
+   for a single interface; merge them.
+
+---

Old:

  0001-test-fix-OBS-build.patch
  ruby-dbus-0.9.1.gem

New:

  ruby-dbus-0.9.2.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.hAJEBS/_old  2013-05-13 15:31:53.0 +0200
+++ /var/tmp/diff_new_pack.hAJEBS/_new  2013-05-13 15:31:53.0 +0200
@@ -17,7 +17,7 @@
 
 # norootforbuild
 Name:   rubygem-ruby-dbus
-Version:0.9.1
+Version:0.9.2
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -41,7 +41,6 @@
 #
 Url:https://trac.luon.net/ruby-dbus
 Source: %{mod_full_name}.gem
-Source1:0001-test-fix-OBS-build.patch
 #
 Summary:Ruby module for interaction with D-Bus
 %description
@@ -64,7 +63,6 @@
 
 %prep
 %gem_unpack
-patch -p1 < %{S:1}
 %gem_build
 
 %build

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



commit rubygem-ruby-dbus for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2013-05-02 11:58:05

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2012-04-12 09:51:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2013-05-02 11:58:07.0 +0200
@@ -1,0 +2,49 @@
+Mon Apr 29 21:31:03 UTC 2013 - mvid...@suse.cz
+
+- fixed build: unspecify port and address family
+
+---
+Tue Apr 23 15:25:17 UTC 2013 - mvid...@suse.cz
+
+- 0.9.1
+ Bug fixes:
+ * Prefer /etc/machine-id to /var/lib/dbus/machine-id
+   when DBUS_SESSION_BUS_ADDRESS is unset (Issue#39, by WU Jun).
+- BTW netcfg did not help. Using 127.0.0.1 in upstream now.
+
+---
+Tue Apr 16 19:42:21 UTC 2013 - mvid...@suse.cz
+
+- BuildRequire netcfg to fix tests failing with
+  'Failed to lookup host/port: "localhost:0"'
+
+---
+Tue Nov  6 21:55:37 UTC 2012 - mvid...@suse.cz
+
+- 0.9.0
+ Features:
+ * When calling methods, the interface can be left unspecified if unambiguous
+  (Damiano Stoffie)
+ * YARD documentation, Reference.md
+ Bug fixes:
+ * Introspection attribute "direction" can be omitted
+   as allowed by the specification (Noah Meyerhans).
+ * ProxyObjectInterface#on_signal no longer needs the "bus" parameter
+   (Issue#31, by Damiano Stoffie)
+
+---
+Thu Sep 20 20:09:41 UTC 2012 - mvid...@suse.cz
+
+- 0.8.0
+ Features:
+ * Add Anonymous authentication (Issue#27, by Walter Brebels).
+ * Use Nokogiri for XML parsing when available (Issue#24, by Geoff Youngs).
+ Bug fixes:
+ * Use SCM_CREDS authentication only on FreeBSD, not on OpenBSD (Issue#21,
+   reported by Adde Nilsson).
+ * Recognize signature "h" (UNIX_FD) used eg. by Upstart (Issue#23,
+   by Bernd Ahlers).
+ * Find the session bus also via launchd, on OS X (Issue#20, reported
+   by Paul Sturgess).
+
+---

Old:

  ruby-dbus-0.7.2.gem

New:

  0001-test-fix-OBS-build.patch
  ruby-dbus-0.9.1.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.pDgvhl/_old  2013-05-02 11:58:08.0 +0200
+++ /var/tmp/diff_new_pack.pDgvhl/_new  2013-05-02 11:58:08.0 +0200
@@ -17,7 +17,7 @@
 
 # norootforbuild
 Name:   rubygem-ruby-dbus
-Version:0.7.2
+Version:0.9.1
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
@@ -30,7 +30,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 BuildRequires:  rubygem-rake
+BuildRequires:  rubygem-nokogiri
 BuildRequires:  dbus-1
+BuildRequires:  netcfg
 
 %rubygems_requires
 
@@ -39,6 +41,7 @@
 #
 Url:https://trac.luon.net/ruby-dbus
 Source: %{mod_full_name}.gem
+Source1:0001-test-fix-OBS-build.patch
 #
 Summary:Ruby module for interaction with D-Bus
 %description
@@ -60,9 +63,13 @@
 Test::Unit or RSpec files, useful for developers.
 
 %prep
+%gem_unpack
+patch -p1 < %{S:1}
+%gem_build
+
 %build
 %install
-%gem_install %{S:0}
+%gem_install -f
 
 %check
 cd %{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test

++ 0001-test-fix-OBS-build.patch ++
>From d341995f6c3bf19be3bf7038e82d6cd6ff868a5c Mon Sep 17 00:00:00 2001
From: Martin Vidner 
Date: Mon, 29 Apr 2013 23:23:32 +0200
Subject: [PATCH] test: fix OBS build

If I leave the port and family unspecified for the testing bus
then it starts to work in the openSUSE Build Service. I don't know why.
---
 test/dbus-limited-session.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/dbus-limited-session.conf b/test/dbus-limited-session.conf
index 9f1cf02..3ade98b 100644
--- a/test/dbus-limited-session.conf
+++ b/test/dbus-limited-session.conf
@@ -8,7 +8,7 @@
   session
 
   unix:tmpdir=/tmp
-  tcp:host=127.0.0.1,port=0,family=ipv4
+  tcp:host=127.0.0.1
 
   
 
-- 
1.8.1.4

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



commit rubygem-ruby-dbus for openSUSE:Factory

2012-04-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2012-04-12 09:50:14

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2012-02-15 22:25:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2012-04-12 09:50:27.0 +0200
@@ -1,0 +2,16 @@
+Thu Apr  5 13:01:43 UTC 2012 - mvid...@suse.cz
+
+- 0.7.2, a bugfix release
+ * Fixed "undefined local variable or method `continue'" in
+   DBus::Main#run when a service becomes idle (by Ravil Bayramgalin)
+
+---
+Wed Apr  4 09:00:04 UTC 2012 - mvid...@suse.cz
+
+- 0.7.1, a bugfix release
+ * Fixed calling asynchronous methods on the default interface (Issue#13,
+   by Eugene Korbut). 
+ * Fixed Main#quit to really quit the loop (by Josef Reidinger)
+ * Unbundled files from Active Support (by Bohuslav Kabrda)
+
+---

Old:

  ruby-dbus-0.7.0.gem

New:

  ruby-dbus-0.7.2.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.i09Gy1/_old  2012-04-12 09:50:28.0 +0200
+++ /var/tmp/diff_new_pack.i09Gy1/_new  2012-04-12 09:50:28.0 +0200
@@ -17,7 +17,7 @@
 
 # norootforbuild
 Name:   rubygem-ruby-dbus
-Version:0.7.0
+Version:0.7.2
 Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}

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



commit rubygem-ruby-dbus for openSUSE:Factory

2012-02-15 Thread h_root
Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory checked in at 2012-02-15 22:22:03

Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-dbus (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new (New)


Package is "rubygem-ruby-dbus", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-ruby-dbus/rubygem-ruby-dbus.changes  
2011-09-23 12:45:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ruby-dbus.new/rubygem-ruby-dbus.changes 
2012-02-15 22:25:47.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb 13 10:55:13 UTC 2012 - co...@suse.com
+
+- patch license to follow spdx.org standard
+
+---



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.tNxO5w/_old  2012-02-15 22:26:09.0 +0100
+++ /var/tmp/diff_new_pack.tNxO5w/_new  2012-02-15 22:26:09.0 +0100
@@ -16,18 +16,16 @@
 #
 
 # norootforbuild
-
-
 Name:   rubygem-ruby-dbus
 Version:0.7.0
-Release:1
+Release:0
 %define mod_name ruby-dbus
 %define mod_full_name %{mod_name}-%{version}
 Provides:   ruby-dbus = %{version}
 Obsoletes:  ruby-dbus < %{version}
 #
 Group:  Development/Languages/Ruby
-License:LGPL v2.1
+License:LGPL-2.1
 #
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
@@ -43,33 +41,26 @@
 Source: %{mod_full_name}.gem
 #
 Summary:Ruby module for interaction with D-Bus
-
 %description
 Ruby module for interaction with D-Bus
 
 %package doc
-
 Summary:RDoc documentation for %{mod_name}
 Group:  Development/Languages/Ruby
 Requires:   %{name} = %{version}
-
 %description doc
 Documentation generated at gem installation time.
 Usually in RDoc and RI formats.
 
 %package testsuite
-
 Summary:Test suite for %{mod_name}
 Group:  Development/Languages/Ruby
 Requires:   %{name} = %{version}
-
 %description testsuite
 Test::Unit or RSpec files, useful for developers.
 
 %prep
-
 %build
-
 %install
 %gem_install %{S:0}
 


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



commit rubygem-ruby-dbus for openSUSE:Factory

2011-08-04 Thread h_root

Hello community,

here is the log from the commit of package rubygem-ruby-dbus for 
openSUSE:Factory
checked in at Thu Aug 4 14:50:13 CEST 2011.




--- rubygem-ruby-dbus/rubygem-ruby-dbus.changes 2010-12-10 23:39:43.0 
+0100
+++ /mounts/work_src_done/STABLE/rubygem-ruby-dbus/rubygem-ruby-dbus.changes
2011-07-26 08:54:13.0 +0200
@@ -1,0 +2,17 @@
+Mon Jul 25 19:57:35 CEST 2011 - mvid...@suse.cz
+
+- 0.7.0, a bugfix release
+ * Added ASystemBus and ASessionBus, non-singletons useful in tests
+   and threads.
+ * Fixed handling of multibyte strings (Issue#8, by Takayuki YAMAGUCHI).
+ * Allow reopening of a dbus_interface declaration (Issue#9, by T. YAMAGUCHI).
+ * Fixed ruby-1.9.2 compatibility again (Issue#12).
+ * Fixed authentication on BSD (Issue#11, by Jonathan Walker).
+ * Fixed exiting a nested event loop for synchronous calls
+   (reported by Timo Warns).
+ * Fixed introspection calls leaking reply handlers.
+ * "rake test" now works, doing what was called "rake env:test"
+- updated the spec from a current template to build doc and
+  testsuite subpackages
+
+---

calling whatdependson for head-i586


Old:

  ruby-dbus-0.6.0.gem

New:

  ruby-dbus-0.7.0.gem



Other differences:
--
++ rubygem-ruby-dbus.spec ++
--- /var/tmp/diff_new_pack.mbu38T/_old  2011-08-04 14:49:37.0 +0200
+++ /var/tmp/diff_new_pack.mbu38T/_new  2011-08-04 14:49:37.0 +0200
@@ -19,14 +19,15 @@
 
 
 Name:   rubygem-ruby-dbus
-Version:0.6.0
+Version:0.7.0
 Release:1
 %define mod_name ruby-dbus
+%define mod_full_name %{mod_name}-%{version}
 Provides:   ruby-dbus = %{version}
 Obsoletes:  ruby-dbus < %{version}
 #
 Group:  Development/Languages/Ruby
-License:LGPLv2.1
+License:LGPL v2.1
 #
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
@@ -34,15 +35,37 @@
 BuildRequires:  dbus-1
 
 %rubygems_requires
+
+Requires:   ruby >= 1.8.7
+BuildRequires:  ruby-devel >= 1.8.7
 #
-Url:http://trac.luon.net/ruby-dbus/
-Source: %{mod_name}-%{version}.gem
+Url:https://trac.luon.net/ruby-dbus
+Source: %{mod_full_name}.gem
 #
 Summary:Ruby module for interaction with D-Bus
 
 %description
 Ruby module for interaction with D-Bus
 
+%package doc
+
+Summary:RDoc documentation for %{mod_name}
+Group:  Development/Languages/Ruby
+Requires:   %{name} = %{version}
+
+%description doc
+Documentation generated at gem installation time.
+Usually in RDoc and RI formats.
+
+%package testsuite
+
+Summary:Test suite for %{mod_name}
+Group:  Development/Languages/Ruby
+Requires:   %{name} = %{version}
+
+%description testsuite
+Test::Unit or RSpec files, useful for developers.
+
 %prep
 
 %build
@@ -52,16 +75,24 @@
 
 %check
 cd %{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test
-rake env:test
+rake test
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
+%{_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
+%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+
+%files testsuite
+%defattr(-,root,root,-)
+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
 
 %changelog






Remember to have fun...

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