SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for ruby-common-2.1-110.1.noarch.rpm :
Tue Mar 1 13:00:00 2016 mrueckertAATTsuse.de
- Since rubygems 2.5.0 the default version in the gem bin stub
changed from \'>= 0\' to \'>= 0.a\'. This was done to allow
prerelease versions. Our patching script didn\'t take the \'.a\'
into account and generated version fields like \'= 0.10.1.a\'
instead of the expected \'= 0.10.1\'. This fix accounts for the
\'.a\'.

Thu Jun 11 14:00:00 2015 lnusselAATTsuse.de
- help the solver to pick the right gem2rpm for the default ruby
version (bnc#934328)

Sat May 2 14:00:00 2015 mrueckertAATTsuse.de
- Fix patching of the shebang line

Thu Apr 16 14:00:00 2015 mrueckertAATTsuse.de
- The script sometimes returned from gem install already although
the install wasn\'t finished yet. This broke e.g. the binary
rename part.

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Fail early if gem install fails
This avoids confusing error messages at the end of the build.

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- More fixes for ruby 1.8

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Ruby 1.8 insists on the () for the parameter

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Cleaner solution for the extensions doc dir
The other solution was also failing on 1.8

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Forgot another option for forwarding

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Do not overwrite options.otheropts

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Fixed forwarding of options to gem install

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Only use the extensions doc dir on MRI 2.1.x

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- Fix the ruby suffix for distributions before 13.2
- Do not fail with --gem-binary

Fri Mar 13 13:00:00 2015 mrueckertAATTsuse.de
- switch to ruby version of gem_install.sh
- added ruby-find-versioned to make it easier to find versioned
binaries.
- all for loops in the shell scripts and macros are now using
this script

Thu Mar 12 13:00:00 2015 mrueckertAATTsuse.de
- call ruby with -x from shell wrappers otherwise we run into an
endless loop

Thu Jan 15 13:00:00 2015 dmuellerAATTsuse.com
- rubygemsdeps.rb: add shell-launcher to avoid dependency on
a fixed ruby version

Tue Jan 13 13:00:00 2015 dmuellerAATTsuse.com
- gem_install.sh: fix ruby shebang patching

Sat Nov 15 13:00:00 2014 Led
- fix bashisms in generate_buildrequires.sh script

Tue Oct 21 14:00:00 2014 mrueckertAATTsuse.de
- restore changes lost by the previous change
- load rbconfigpackagingsupport if available and fail gracefully
if not.
- dont use not() it breaks the build on 1.8
- remove requires onto the ruby version

Sat Oct 18 14:00:00 2014 cooloAATTsuse.com
- update gem_packages template from git

Mon Sep 29 14:00:00 2014 mrueckertAATTsuse.de
- ignore any files we find in
*/.gem/
*. in some versions of
rubygems, gems that are installed are also copied to ~/.gem/.

Fri Sep 26 14:00:00 2014 mrueckertAATTsuse.de
- we dont always have /usr/bin/ruby, use perl for patching the
version in the bin wrapper. also replaced the sed for patching
the shebang line.
- fixed a bad bug in the shebang line. we had an additional \".\"
there.

Fri Sep 26 14:00:00 2014 mrueckertAATTsuse.de
- install gemrc on all distros

Fri Sep 26 14:00:00 2014 mrueckertAATTsuse.de
- dont delete .a files. there are actually gems where we need them
like rubygem-libv8 for rubygem-therubyracer

Tue Sep 23 14:00:00 2014 mrueckertAATTsuse.de
- fix the case where we dont symlink the binaries.

Fri Sep 19 14:00:00 2014 mrueckertAATTsuse.de
- gem_cleanup macro was missed when updating for old ruby versions.

Fri Sep 19 14:00:00 2014 mrueckertAATTsuse.de
- switch from \"ruby -rrubygems -e
\'print Gem::Specification.new.base_dir\'\"
to \"gem env gemdir\"

Fri Sep 19 14:00:00 2014 mrueckertAATTsuse.de
- gem_build_cleanup: also delete static library files

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- ruby 1.8 support:
- gem_packages.sh: change to /usr/src/packages when
/home/abuild/rpmbuild doesn\'t exist.
- gem_packages template:
- require rbconfigpackagingsupport to fix the ruby_install_name
dependent variables. we do that for all distros but catch the
LoadError and continue.
- and dont use not(), we need to use \"!\" instead.

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- our sle 11 sp3 rpm does provide the support for the automatic
rubygems dependency but does not provide
rpm-with-ruby-provide-hook. guard the requires with > 1110

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- remove the handling of spec.required_ruby_version here. this
should be handled in rubygemsdeps.rb if at all. we already guard
for this in the buildrequires and then have a requires via the
$interpreter(abi) requires onto the newer version.

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- invert the logic. only stop shipping /etc/gemrc on 12.3 and 13.1

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- gem_packages template:
Dont allow an suffix with just a plain number. prefix it with
ruby.

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- gem_packages also need the rewrite that rewrites a number only
suffix into .ruby

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- made the matcher for older versions more strict so we dont pick
up gem2rpm.

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- also add support for older versioning in gem_packages.sh

Wed Sep 17 14:00:00 2014 mrueckertAATTsuse.de
- added support for the versioning scheme in 13.1 and older
- dont ship gemrc on 13.1

Mon Sep 15 14:00:00 2014 mrueckertAATTsuse.de
- the ruby(abi) = $interpreter:$abiversion was not a good idea. rpm
treats the $interpreter part as epoch. instead we use now:
$interpreter(abi) = $abiversion
For MRI it means we are basically back to ruby(abi).
Examples for alternative ruby interpreters are rubinius(abi) and
jruby(abi) (bnc#896658)

Mon Sep 8 14:00:00 2014 mrueckertAATTsuse.de
- disable extensions doc dir on rubinius

Mon Sep 8 14:00:00 2014 mrueckertAATTsuse.de
- workaround https://github.com/rubinius/rubinius/issues/2732
for UTF8 locale in gem_packages.sh

Thu Sep 4 14:00:00 2014 mrueckertAATTsuse.de
- we actually need the splitted version in any case. uncomment it
again

Wed Sep 3 14:00:00 2014 mrueckertAATTsuse.de
- pass the ruby abi as hash containing :interpreter, :version,
:abi as keys. that way we have the full new string but also the
version for the 1.8 support

Wed Sep 3 14:00:00 2014 mrueckertAATTsuse.de
- rubygemsdeps.rb:
- make the provides/requires also include the ruby interpreter
- no longer emit the old package name style provides
- rubygems.attr:
- make the path a bit more relaxed so we can match other ruby
interpreter too

Wed Jul 16 14:00:00 2014 mrueckertAATTsuse.de
- added ruby-common.macros:
Holds the common macros for the rpm macro based buildrequires.
- merged ruby.macros into ruby.rpm-macros:
the later file now carries the rb_
* and gem_
* macros

Tue Jul 15 14:00:00 2014 mrueckertAATTsuse.de
- ruby.macros: drop the duplicate gem macros

Tue Jul 15 14:00:00 2014 mrueckertAATTsuse.de
- fix small typo in opensuse.spec.erb which broke the formatting.

Tue Jul 15 14:00:00 2014 mrueckertAATTsuse.de
- no longer require ruby(-devel). ruby-common is required by
rubyX.Y so we should always be installed and this breaks a small
loop
- opensuse.spec.erb
- no longer require the plain ruby package but the versioned
named
- handle disable_doc and no longer build subpackages for rdoc
documentation in that case.

Fri Jul 11 14:00:00 2014 mrueckertAATTsuse.de
- remove the set -x from gem_install
- moved set -x in gem_packages to the interesting part only
- the gem packages template only handles custom_pkgs_ruby_versioned

Thu Jul 10 14:00:00 2014 mrueckertAATTsuse.de
- make use of config file support in gem2rpm (gem2rpm.yml)
- gem_install.sh
- drop gem-filelist-append and gem-custom-packages params
- removed unneeded \"-\" when appending gem_version_suffix
- gem_packages.sh
- drop gem-suffix, gem-filelist-append and gem-custom-packages
params
- added gem2rpm-config param
- added code to find gem2rpm.yml in RPM_SOURCE_DIR
- opensuse.spec.erb
- no longer get variables from the env. this is handled by the
config file now
- implemented all the gem2rpm.yml hooks
- ruby.rpm-macros
- removed usage of dropped cmdline arguments
- pass mod_version_suffix to gem_install.sh

Thu Jul 10 14:00:00 2014 mrueckertAATTsuse.de
- pass the output of gem_packages through %{expand} so macros and
so on work.

Wed Jun 25 14:00:00 2014 mrueckertAATTsuse.de
- in the past we had a few spec files were we manually patched the
version in the binary wrapper from \">= 0\" to \"= %version\"
do this in gem install now.

Wed Jun 25 14:00:00 2014 mrueckertAATTsuse.de
- do not have the expanded version of rubygem(gem2rpm) in the spec
file. moved to project config.

Wed Jun 25 14:00:00 2014 mrueckertAATTsuse.de
- adapt the symlink handling:
We will us the versioned names in /etc/alternatives now instead of
mapping everything to /etc/alternatives/$binaryname.
That means we will get:
/usr/bin/$binaryname$rubysuffix /etc/alternatives/$binaryname$rubysuffix
/usr/bin/$binaryname-$gemversion /etc/alternatives/$binaryname-$gemversion
/usr/bin/$binaryname /etc/alternatives/$binaryname
The subpackage template and gem_install.sh script got adopted to
this.
- no longer patch files in $buildroot/usr/bin/.
If we patch files there, we break the binaries for older ruby
versions. we limit the search path to the gem dir.
- loop over each gem directory in gem_cleanup macro. so far we only
cleaned up the gems for the default ruby
- add requires for fdupes. one of the macro is using it.
- bump rpm_macros_version to 5

Wed Jun 25 14:00:00 2014 mrueckertAATTsuse.de
- really make gem_install.sh work with more than one ruby version
- use pushd/popd instead of cd when creating the symlinks
- only create the generic symlinks if they dont exists already

Mon Jun 23 14:00:00 2014 mrueckertAATTsuse.de
- added 2 new options to gem_packages.sh
- --gem-filelist-append=\"arg\"
This can be either a string or a filename to a filelist that
will be appended to the versioned main package
- --gem-custom-packages=\"name|filelist[|preamble[|description]]\"
filelist, preamble and description can be either filenames or
the actual value.
to use both from the spec file you need to use
%define gem_custome_packages ...
%define gem_filelist_append ...
important if you use the filename option, you need to call the
tools to generate the files with %(....) so the files are
actually available at the time when gem_packages is run. The tool
is called at the very beginning of the build, even before %prep.
- update the gem_packages template to handle those 2 options and
also the --gem-suffix option.
they are all passed via environment variables for now.
- bumped the rpm_macro_version to 4

Thu Jun 19 14:00:00 2014 mrueckertAATTsuse.de
- as it turns out gem_build_complete_path files are important.
Do not delete them in the cleanup script.

Wed Jun 18 14:00:00 2014 mrueckertAATTsuse.de
- added gem_packages macro and implementation
- fix shebang patching in gem_install

Wed Jun 18 14:00:00 2014 mrueckertAATTsuse.de
- if we dont use --symlink-binaries, let\'s undo the
- -format-executable, that we we break less packages

Wed Jun 18 14:00:00 2014 mrueckertAATTsuse.de
- added --symlink-binaries option to gem_install.sh:
instead of breaking all the existing rubygem packages lets pass
this option until we have all packages fixed and we can turn it
on by default

Wed Jun 18 14:00:00 2014 mrueckertAATTsuse.de
- a lot of additions to the gem_install.sh

* --doc-files=\"...\" - which files relatively to the installed gem
directory should be symlinked to /usr/share/doc/packages/rpmname
- > you can move the manual linking of documentation files to
the --doc-files option

* --gemsuffix=\"suffix\" - if you need more than one version of the
same gem.

* all the symlinks for the different versioned files are not
generated following the same rules that the template is using.
- > you can remove the manual code from the spec file
- enable format-executable again in the global gemrc
- pass gem name and version from the %gem_install macro to the
gem_install.sh, avoids parsing the gem file name in the shell
script.

Tue Jun 17 14:00:00 2014 mrueckertAATTsuse.de
- added opensuse.spec.erb this gem2rpm template should be later
used by the gem_packages macro to create the needed file and
package sections
- make gem_install.sh loop over all /usr/bin/gem[1-9]
*

Tue Jun 17 14:00:00 2014 mrueckertAATTsuse.de
- added more patterns to the cleanup script for ruby 2.1
- gem.build_complete
- page\\
*.ri

Sun Jun 15 14:00:00 2014 mrueckertAATTsuse.de
- installed the wrong file as gemrc

Sat Jun 14 14:00:00 2014 mrueckertAATTsuse.de
- merge files from the ruby 2.1 package
- moved gemrc from the ruby wrapper package

Tue Apr 29 14:00:00 2014 aspiersAATTsuse.com
- eliminate \"useless-provides rubygem-foo\" rpmlint warning for
every gem: \"Provides: rubygem-foo = 1.2.3\" is not required
because rpm implicitly adds \"Provides: rubygem-foo = 1.2.3-4\"

Tue Feb 4 13:00:00 2014 kkaempfAATTsuse.com
- make %gem_extensions and %gem_doc_ext not fail on Ruby < 2.1

Sun Jan 12 13:00:00 2014 cooloAATTsuse.com
- remove 2.0 and 1.9 as binary suffix

Sun Jan 12 13:00:00 2014 cooloAATTsuse.com
- increase the version and make gem_base generic

Mon Jan 6 13:00:00 2014 cooloAATTsuse.com
- switch to 2.1 as default

Thu Sep 12 14:00:00 2013 mrueckertAATTsuse.de
- fixed bootstrap problem by ignoring ruby-common at build time

Sat Sep 7 14:00:00 2013 cooloAATTsuse.com
- do no longer buildrequire rubygems_with_buildroot_patch, that\'s
history long enough - ruby-devel will do

Thu Jun 6 14:00:00 2013 cooloAATTsuse.com
- fixed ~> 3.4 to actually require 3

Mon Apr 29 14:00:00 2013 cooloAATTsuse.com
- switch to ruby 2.0 as default

Sun Apr 14 14:00:00 2013 cooloAATTsuse.com
- fix permissions

Tue Apr 9 14:00:00 2013 cooloAATTsuse.com
- do not remove ext completely, e.g. passenger extensions require
some files from there

Sat Mar 23 13:00:00 2013 cooloAATTsuse.com
- remove ext too, it only causes problems - as far as I can see

Fri Mar 8 13:00:00 2013 rhaferAATTsuse.com
- Some enhancements to rubygemsdeps.rb:
- Add --file-match option to rubygemsdeps.rb to allow
specifying and alternate regex to match the input files
against. This is useful to generate dependencies from gemspec
files which do not endup being installed in the default
locations
- Default rubyabi to a non-nil value (basically the version of
of the ruby interpreter that runs the script)

Wed Jan 9 13:00:00 2013 aspiersAATTsuse.com
- Fix it to work even if all-good has just been created locally
via mkpac and doesn\'t exist server-side yet.
- Improve support for running within a branch of the original
project. This allows submitreqs which change all-good.spec.

Tue Jan 8 13:00:00 2013 idonmezAATTsuse.com
- Bump version to 2.0 so we don\'t get a version downgrade when
updating from 12.2

Fri Dec 28 13:00:00 2012 cooloAATTsuse.com
- always provide the full version string as people use
~> 1.2 even if the version is 1.2
The old logic assumed people would always require one digit
less than the actual version

Wed Dec 19 13:00:00 2012 aspiersAATTsuse.com
- Import an enhanced version of d:l:r:e/all-good/update-sources.sh
which can be reused for any project, and allows more thorough
handling of BuildRequires from different repository / arch
combinations.

Tue Dec 4 13:00:00 2012 nkrinnerAATTsuse.com
- Bring back fix from submit request 140568 (Revision 23):
Fix gemspec filtering on SLE_11_SP2:
+ Only gemspec files resulting of the built gem matter, not other
gemspec found in-tree
+ Newer RPM uses rubygem.attr, which filters correctly

Fri Nov 30 13:00:00 2012 cooloAATTsuse.com
- require rubygems for old ruby versions
- strip trailing .0 for ~> operator

Fri Nov 23 13:00:00 2012 aspiersAATTsuse.com
- Add -g option to rubygemsdeps.rb to allow preview / review
of automatically generated dependencies from:
+ gemspecs in packages which have already been installed
+ gems/gemspecs which have not yet been packaged
This is useful for learning / debugging the dependency generator.

Wed Nov 7 13:00:00 2012 saschpeAATTsuse.de
- Fix gemspec filtering on SLE_11_SP2:
+ Only gemspec files resulting of the built gem matter, not other
gemspec found in-tree
+ Newer RPM uses rubygem.attr, which filters correctly

Mon Nov 5 13:00:00 2012 cooloAATTsuse.com
- fix build on fedora

Thu Aug 2 14:00:00 2012 cooloAATTsuse.com
- \"~> 2\" doesn\'t have any meaning, but we still need to handle it

Wed Aug 1 14:00:00 2012 cooloAATTsuse.com
- fixing the pessimistic operator

Mon Jul 30 14:00:00 2012 cooloAATTsuse.com
- replace all
*/ruby with /usr/bin/ruby

Fri Jul 27 14:00:00 2012 cooloAATTsuse.com
- replace /usr/local/bin/ruby with /usr/bin/ruby - a very often mistake

Thu Jul 26 14:00:00 2012 cooloAATTsuse.com
- fix ruby provides/requires with ruby 1.8

Thu Jul 26 14:00:00 2012 cooloAATTsuse.com
- old gems do not have a gem unpack --spec, so use gem specification

Thu Jul 26 14:00:00 2012 cooloAATTsuse.com
- catch unspecified gem_binary

Thu Jul 26 14:00:00 2012 cooloAATTsuse.com
- split from ruby package for easier backporting


 
ICM