Hello community,

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

Package is "rubygem-xmlhash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-xmlhash/rubygem-xmlhash.changes  
2013-09-27 18:19:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-xmlhash.new/rubygem-xmlhash.changes     
2014-02-07 10:30:03.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb  3 11:59:41 UTC 2014 - co...@suse.com
+
+- use new macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-xmlhash.spec ++++++
--- /var/tmp/diff_new_pack.oxSXEZ/_old  2014-02-07 10:30:04.000000000 +0100
+++ /var/tmp/diff_new_pack.oxSXEZ/_new  2014-02-07 10:30:04.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-xmlhash
 #
-# Copyright (c) 2013 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
@@ -26,7 +26,7 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
 BuildRequires:  ruby-devel
-BuildRequires:  ruby-macros >= 1.0
+BuildRequires:  ruby-macros >= 3
 BuildRequires:  rubygem-hoe
 BuildRequires:  rubygem-pkg-config
 BuildRequires:  rubygem-rake
@@ -53,18 +53,21 @@
 %install
 %gem_install
 %gem_cleanup
-cd %{buildroot}%_libdir/ruby/gems/%{rb_ver}/gems/%{mod_full_name}
+cd %{buildroot}%{gem_base}/gems/%{mod_full_name}
 # workaround
 if test -f lib/xmlhash; then
   mv lib/xmlhash lib/xmlhash.so
   mkdir lib/xmlhash
   mv lib/xmlhash.so lib/xmlhash/xmlhash.so
 fi
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{gem_base}/gems/%{mod_full_name}/History.txt 
%buildroot/%{_docdir}/%{name}/History.txt
+ln -s %{gem_base}/gems/%{mod_full_name}/README.txt 
%buildroot/%{_docdir}/%{name}/README.txt
 
 %pre
 # a .so directory is invalid, but rpm won't be able to move it to a file 
itself ;(
-if test -d 
%_libdir/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/lib/xmlhash/xmlhash.so; then
-  rm -rf 
%_libdir/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/lib/xmlhash/xmlhash.so
+if test -d %{gem_base}/gems/%{mod_full_name}/lib/xmlhash/xmlhash.so; then
+  rm -rf %{gem_base}/gems/%{mod_full_name}/lib/xmlhash/xmlhash.so
 fi
 
 %check
@@ -73,9 +76,11 @@
 
 %files
 %defattr(-,root,root,-)
-%_libdir/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%_libdir/ruby/gems/%{rb_ver}/doc
-%_libdir/ruby/gems/%{rb_ver}/gems/%{mod_full_name}
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{_docdir}/%{name}
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/doc
+%{gem_base}/gems/%{mod_full_name}/
+%{gem_extensions}/%{mod_full_name}
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %changelog


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

Reply via email to