Hello community,

here is the log from the commit of package rubygem-erubis-2_7 for 
openSUSE:Factory checked in at 2012-08-04 09:37:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-erubis-2_7 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-erubis-2_7.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-erubis-2_7", Maintainer is "mrueck...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-erubis-2_7/rubygem-erubis-2_7.changes    
2012-03-09 21:27:24.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-erubis-2_7.new/rubygem-erubis-2_7.changes   
    2012-08-04 09:37:38.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Aug  2 13:03:14 UTC 2012 - cfarr...@suse.com
+
+- license update: MIT
+  See the license in the data/ directory
+
+-------------------------------------------------------------------
+Tue Jul 31 13:48:42 UTC 2012 - jreidin...@suse.com
+
+- use new gem2rpm to provide new provisions 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-erubis-2_7.spec ++++++
--- /var/tmp/diff_new_pack.q9AlaW/_old  2012-08-04 09:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.q9AlaW/_new  2012-08-04 09:37:39.000000000 +0200
@@ -11,38 +11,40 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           rubygem-erubis-2_7
 Version:        2.7.0
 Release:        0
-License:        MIT
-Summary:        A fast and extensible eRuby implementation which supports 
multi-language
-Url:            http://www.kuwata-lab.com/erubis/
-Group:          Development/Languages/Ruby
 %define mod_name erubis
-%define mod_full_name %{mod_name}-%{version}
 %define mod_branch -2_7
 %define mod_weight 27
-Source:         %{mod_full_name}.gem
-BuildRequires:  rubygems_with_buildroot_patch
-Requires(pre):  update-alternatives
-Provides:       rubygem-%{mod_name} = %{version}
+%define mod_full_name %{mod_name}-%{version}
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%rubygems_requires
+BuildRequires:  ruby-macros >= 1
+Requires(pre):  update-alternatives
+Url:            http://www.kuwata-lab.com/erubis/
+Source:         %{mod_full_name}.gem
+Summary:        a fast and extensible eRuby implementation which supports 
multi-language
+License:        MIT
+Group:          Development/Languages/Ruby
 
 %description
 Erubis is an implementation of eRuby and has the following features:
-
-* Very fast, almost three times faster than ERB and about 10% faster than 
eruby.
+* Very fast, almost three times faster than ERB and about 10% faster than
+eruby.
 * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)
 * Auto escaping support
 * Auto trimming spaces around '<% %>'
 * Embedded pattern changeable (default '<% %>')
-* Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb 
... ?>')
-* Context object available and easy to combine eRuby template with YAML 
datafile
+* Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb
+... ?>')
+* Context object available and easy to combine eRuby template with YAML
+datafile
 * Print statement available
 * Easy to extend and customize in subclass
 * Ruby on Rails support
@@ -65,15 +67,11 @@
 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}
-mv %{buildroot}%{_bindir}/erubis{,%{mod_branch}}
-ln -s erubis %{buildroot}%{_bindir}/erubis
-# make sure it installs the right version when using erubis-*
-ruby -p -i.bak -e '$_.gsub!(/>= 0/, "= %{version}")' 
%{buildroot}%{_bindir}/erubis%{mod_branch}
-diff -urN %{buildroot}%{_bindir}/erubis%{mod_branch}{.bak,} || :
-rm %{buildroot}%{_bindir}/erubis%{mod_branch}.bak
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -84,6 +82,15 @@
     /usr/sbin/update-alternatives --remove erubis 
%{_bindir}/erubis%{mod_branch}
 fi
 
+%install
+%gem_install -f
+mv %{buildroot}%{_bindir}/erubis{,%{mod_branch}}
+ln -s erubis %{buildroot}%{_bindir}/erubis
+# make sure it installs the right version when using erubis-*
+ruby -p -i.bak -e '$_.gsub!(/>= 0/, "= %{version}")' 
%{buildroot}%{_bindir}/erubis%{mod_branch}
+diff -urN %{buildroot}%{_bindir}/erubis%{mod_branch}{.bak,} || :
+rm %{buildroot}%{_bindir}/erubis%{mod_branch}.bak
+
 %files
 %defattr(-,root,root,-)
 %ghost %config(noreplace) %{_bindir}/erubis
@@ -91,17 +98,11 @@
 %{_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
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/doc-api
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/doc
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/examples
 %{_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}/
-%doc %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/doc-api
-%doc %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/doc
-%doc %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/examples
 
 %files testsuite
 %defattr(-,root,root,-)


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

Reply via email to