Hello community,

here is the log from the commit of package rubygem-ruby-shadow for 
openSUSE:Factory checked in at 2014-10-25 08:47:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-shadow (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-ruby-shadow.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-ruby-shadow"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-ruby-shadow/rubygem-ruby-shadow.changes  
2014-05-21 16:30:21.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-ruby-shadow.new/rubygem-ruby-shadow.changes 
    2014-10-25 11:17:40.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Oct 24 15:01:05 UTC 2014 - [email protected]
+
+- Added new ruby macros
+
+-------------------------------------------------------------------

New:
----
  gem2rpm.yml

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

Other differences:
------------------
++++++ rubygem-ruby-shadow.spec ++++++
--- /var/tmp/diff_new_pack.63ybGZ/_old  2014-10-25 11:17:41.000000000 +0200
+++ /var/tmp/diff_new_pack.63ybGZ/_new  2014-10-25 11:17:41.000000000 +0200
@@ -16,64 +16,46 @@
 #
 
 
+#
+# 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-shadow
 Version:        2.3.4
 Release:        0
 %define mod_name ruby-shadow
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 3
-Requires:       ruby >= 1.8
-BuildRequires:  ruby >= 1.8
-BuildRequires:  ruby-devel
+BuildRequires:  %{rubydevel >= 1.8}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  ruby-macros >= 5
 Url:            https://github.com/apalmblad/ruby-shadow
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:        gem2rpm.yml
 Summary:        *nix Shadow Password Module
 License:        SUSE-Public-Domain
 Group:          Development/Languages/Ruby
 
 %description
 This module provides access to shadow passwords on Linux, OSX, FreeBSD,
-OpenBSD, and Solaris
-
-%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.
+OpenBSD, and Solaris.
 
 %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
+%gem_install \
+  --doc-files="HISTORY LICENSE README" \
+  -f
 %gem_cleanup
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/HISTORY 
%buildroot/%{_docdir}/%{name}/HISTORY
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{gem_base}/gems/%{mod_full_name}/README 
%buildroot/%{_docdir}/%{name}/README
 # MANUAL
-# clean up source
-find %buildroot%{gem_base}/gems/%{mod_full_name} -name "*.c" -exec rm -v {} \;
+find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ 
-name "*.[h|c]" -exec rm {} \;
+# /MANUAL
 
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%{gem_extensions}/%{mod_full_name}
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
+%gem_packages
 
 %changelog

++++++ gem2rpm.yml ++++++
:license: SUSE-Public-Domain

:post_install: |-
  find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ 
-name "*.[h|c]" -exec rm {} \;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to