Hello community,

here is the log from the commit of package rubygem-net-scp for openSUSE:Factory 
checked in at 2014-10-14 07:10:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-net-scp (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-net-scp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-net-scp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-net-scp/rubygem-net-scp.changes  
2014-05-21 16:29:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-net-scp.new/rubygem-net-scp.changes     
2014-10-14 07:10:55.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct  9 15:39:06 UTC 2014 - fcaste...@suse.com
+
+- update to new packaging scheme and add gem2rpm.yml
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-net-scp.spec ++++++
--- /var/tmp/diff_new_pack.cBMtx5/_old  2014-10-14 07:10:57.000000000 +0200
+++ /var/tmp/diff_new_pack.cBMtx5/_new  2014-10-14 07:10:57.000000000 +0200
@@ -21,9 +21,10 @@
 Release:        0
 %define mod_name net-scp
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 3
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
 Url:            https://github.com/net-ssh/net-scp
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        A pure Ruby implementation of the SCP client protocol
@@ -31,53 +32,17 @@
 Group:          Development/Languages/Ruby
 
 %description
-A pure Ruby implementation of the SCP client protocol
-
-%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.
+A pure Ruby implementation of the SCP client protocol.
 
 %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 -f
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/CHANGES.txt 
%buildroot/%{_docdir}/%{name}/CHANGES.txt
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE.txt 
%buildroot/%{_docdir}/%{name}/LICENSE.txt
-ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%exclude %{gem_base}/gems/%{mod_full_name}/test
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/test
+%gem_install \
+  --doc-files="CHANGES.txt LICENSE.txt README.rdoc" \
+  -f
+
+%gem_packages
 
 %changelog

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

Reply via email to