Hello community,
here is the log from the commit of package rubygem-ruby_parser for
openSUSE:Factory checked in at 2014-09-12 11:28:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ruby_parser (Old)
and /work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-ruby_parser"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-ruby_parser/rubygem-ruby_parser.changes
2014-05-22 06:57:45.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-ruby_parser.new/rubygem-ruby_parser.changes
2014-09-12 12:22:51.000000000 +0200
@@ -1,0 +2,13 @@
+Wed Sep 10 13:57:52 UTC 2014 - [email protected]
+
+- added gem2rpm.yml as source
+
+-------------------------------------------------------------------
+Wed Sep 10 09:39:32 UTC 2014 - [email protected]
+
+- added a small scriptlet to fix the shebang line of the test
+ scripts
+- also added a gem2rpm.yml for later, but did not regenerate the
+ specfile just yet.
+
+-------------------------------------------------------------------
New:
----
gem2rpm.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-ruby_parser.spec ++++++
--- /var/tmp/diff_new_pack.x6jxYM/_old 2014-09-12 12:22:52.000000000 +0200
+++ /var/tmp/diff_new_pack.x6jxYM/_new 2014-09-12 12:22:52.000000000 +0200
@@ -30,6 +30,7 @@
BuildRequires: rubygem(rdoc) > 3.10
Url: https://github.com/seattlerb/ruby_parser
Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
Summary: ruby_parser (RP) is a ruby parser written in pure ruby
(utilizing
License: MIT
Group: Development/Languages/Ruby
@@ -96,6 +97,10 @@
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
+# MANUAL
+perl -p -i -e 's|#!\S+|#!/usr/bin/ruby|g'
%{buildroot}%{_libdir}/*/gems/*/gems/%{mod_full_name}/test/*
+# /MANUAL
+
%post
/usr/sbin/update-alternatives --install \
%{_bindir}/ruby_parse ruby_parse %{_bindir}/ruby_parse%{mod_branch}
%{mod_weight}
++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## 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: foobar
# Requires: foobar
# ## 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: |-
# # 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:
# :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
#
---
:post_install: |-
perl -p -i -e 's|#!\S+|#!/usr/bin/ruby|g'
%{buildroot}%{_libdir}/*/gems/*/gems/%{mod_full_name}/test/*
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]