Hello community,

here is the log from the commit of package rubygem-has_mobile_views for 
openSUSE:Factory checked in at 2014-10-15 16:19:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-has_mobile_views (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-has_mobile_views.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-has_mobile_views"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-has_mobile_views/rubygem-has_mobile_views.changes
        2012-07-02 11:10:36.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-has_mobile_views.new/rubygem-has_mobile_views.changes
   2014-10-15 16:20:12.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Oct 12 11:13:46 UTC 2014 - [email protected]
+
+- adapt to new rubygem packaging style
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-has_mobile_views.spec ++++++
--- /var/tmp/diff_new_pack.1bQW8D/_old  2014-10-15 16:20:13.000000000 +0200
+++ /var/tmp/diff_new_pack.1bQW8D/_new  2014-10-15 16:20:13.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-has_mobile_views
 #
-# 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,63 +15,35 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
+
 Name:           rubygem-has_mobile_views
 Version:        0.0.3
 Release:        0
 %define mod_name has_mobile_views
 %define mod_full_name %{mod_name}-%{version}
-#
-Group:          Development/Languages/Ruby
-License:        MIT
-#
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  rubygems_with_buildroot_patch
-%rubygems_requires
-#
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
 Url:            http://github.com/openSUSE/has_mobile_views
-Source:         %{mod_full_name}.gem
-#
-Summary:        A Rails plugin which allows for rendering special templates 
for mobile devices
-%description
-    This Rails plugin allows for rendering special templates for mobile 
devices, using the existing views and partials as a fallback.
-
-%package doc
-Summary:        RDoc documentation for %{mod_name}
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Summary:        A Rails plugin which allows for rendering special templates for
+License:        MIT
 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
+This Rails plugin allows for rendering special templates for mobile
+devices, using the existing views and partials as a fallback.
 
 %prep
+
 %build
-%install
-%gem_install %{S:0}
 
-%clean
-%{__rm} -rf %{buildroot}
+%install
+%gem_install \
+  --doc-files="README.md" \
+  -f
 
-%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

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to