Hello community, here is the log from the commit of package rubygem-xmlhash for openSUSE:Factory checked in at 2015-01-30 15:08:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-02-07 10:30:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-xmlhash.new/rubygem-xmlhash.changes 2015-01-30 15:08:21.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Jan 30 09:40:15 UTC 2015 - [email protected] + +- fix indenting in gem2rpm.yml and recreate + +------------------------------------------------------------------- +Tue Oct 14 05:28:01 UTC 2014 - [email protected] + +- adapt to new packaging + +------------------------------------------------------------------- New: ---- gem2rpm.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-xmlhash.spec ++++++ --- /var/tmp/diff_new_pack.6JKNAi/_old 2015-01-30 15:08:21.000000000 +0100 +++ /var/tmp/diff_new_pack.6JKNAi/_new 2015-01-30 15:08:21.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-xmlhash # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,71 +16,52 @@ # +# +# 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-xmlhash Version: 1.3.6 Release: 0 %define mod_name xmlhash %define mod_full_name %{mod_name}-%{version} -# -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# MANUAL +BuildRequires: %{rubygem hoe} +BuildRequires: %{rubygem pkg-config} +BuildRequires: %{rubygem rake-compiler} +BuildRequires: %{rubygem rake} BuildRequires: libxml2-devel BuildRequires: libxslt-devel -BuildRequires: ruby-devel -BuildRequires: ruby-macros >= 3 -BuildRequires: rubygem-hoe -BuildRequires: rubygem-pkg-config -BuildRequires: rubygem-rake -BuildRequires: rubygem-rake-compiler -BuildRequires: rubygems_with_buildroot_patch +# /MANUAL +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{rubydevel} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: ruby-macros >= 5 Url: https://github.com/coolo/xmlhash -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: Xmlhash is a naive form of XML::Simple License: MIT Group: Development/Languages/Ruby %description -Xmlhash is a module with just one function: parse - it takes a -xml string and returns a hash representation of the same. It's -main (and most likely only) purpose is to serve as speed up for -the Open Build Service. +A small C module that wraps libxml2's xmlreader to parse a XML +string into a ruby hash. %prep -%gem_unpack %build -%gem_build %install -%gem_install +%gem_install \ + --doc-files="History.txt README.txt" \ + -f %gem_cleanup -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 %{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 -cd %{mod_full_name} -rake test - -%files -%defattr(-,root,root,-) -%{_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 + +%gem_packages %changelog ++++++ gem2rpm.yml ++++++ # --- # ## used by gem2rpm :summary: Xmlhash is a naive form of XML::Simple # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm :preamble: |- BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: %{rubygem hoe} BuildRequires: %{rubygem pkg-config} BuildRequires: %{rubygem rake} BuildRequires: %{rubygem rake-compiler} # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm #:sources: # - foo.desktop # - bar.desktop # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm :post_install: |- rm -rf %{buildroot}/%{gem_base}/gems/%{mod_full_name}/tmp # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm :testsuite_command: |- (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm :scripts: :pre: |- 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 # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: ..... # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
