Commit Graph

79 Commits

Author SHA256 Message Date
Stephan Kulow
4de76c9a8f Accepting request 221690 from devel:languages:ruby
This is basically ruby20 updated to 2.1 and merged ruby-common and ruby

OBS-URL: https://build.opensuse.org/request/show/221690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=48
2014-02-12 18:35:28 +00:00
Klaus Kämpf
34e0aa104c - Don't require rpm-with-ruby-provide-hook on SLE11.
It's not a runtime requirement but a build-time requirement for
  rubygems in SLE11. Buildservice will take care of that.
- reintroduce update-alternatives for rake, rdoc and ri as those

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=74
2014-02-10 11:21:50 +00:00
Stephan Kulow
2106091d7a Accepting request 221227 from OBS:Server:Unstable
- reintroduce update-alternatives for rake,rdoc and ri as those
  can come from more uptodate gems

OBS-URL: https://build.opensuse.org/request/show/221227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=73
2014-02-07 19:53:23 +00:00
Klaus Kämpf
b81ea6e4c8 fix 12.2 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=72
2014-02-04 10:37:24 +00:00
Stephan Kulow
f95eca6813 don't use macros in comments
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=71
2014-02-04 06:45:36 +00:00
Klaus Kämpf
9594841e44 Accepting request 220747 from openSUSE:Factory:Staging:H
- readd old macros - for now at least
- generate provides for embedded rubygems
- merged ruby-common
- new package split - only single Ruby version installable
  ruby - binary
  libruby2_1-2_0 - ruby runtime library
  ruby-stdlib - ruby standard library
  ruby-doc - ruby documentation
  ruby-devel - ruby development
- revert the ruby split (ruby - ruby21)
  rename ruby21 to ruby, integrate 'ruby' and 'ruby-common'
- remove part of rubygems1.5 patch that modify mkmf which is
  already fixed upstream
- fix rb_arch in spec: append -gnu
- fix native gem builds: create gem native extensions dir
- initial version for ruby 2.1.0 - changes to Ruby 2.0:
  VM (method cache)
  RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation)
  refinements #8481 #8571
  syntax changes
  Rational/Complex Literal #8430
  def’s return value #3753
  Bignum
  use GMP #8796
  String#scrub #8414
  Socket.getifaddrs #8368
  RDoc 4.1.0 and RubyGems 2.2.0
  “literal”.freeze is now optimized #9042
  add Exception#cause #8257
  update libraries like BigDecimal, JSON, NKF, Rake, RubyGems, and RDoc

OBS-URL: https://build.opensuse.org/request/show/220747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=70
2014-02-03 20:16:17 +00:00
Stephan Kulow
069bf7c3af - disable format-executable. we only support one ruby at a time
(de facto)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=69
2014-01-12 19:03:10 +00:00
Stephan Kulow
5a8cb02a02 Accepting request 213475 from openSUSE:Factory:Staging:Ruby21
OBS-URL: https://build.opensuse.org/request/show/213475
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=68
2014-01-10 14:28:32 +00:00
Stephan Kulow
83bf421106 - move update-alternative usage to main package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=67
2014-01-06 08:27:21 +00:00
Stephan Kulow
1c6e16fdb9 Accepting request 196375 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/196375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=46
2013-08-30 09:48:32 +00:00
Klaus Kämpf
20f847f4ae Accepting request 195591 from home:jordimassaguerpla:branches:devel:languages:ruby
- fix Bug 834785 - VUL-0: ruby*: default /etc/gemrc uses http source 
  of gems instead of https

OBS-URL: https://build.opensuse.org/request/show/195591
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=65
2013-08-26 09:49:08 +00:00
Stephan Kulow
b0f815da31 Accepting request 181438 from devel:languages:ruby
- change too strict ruby20 requires with _ge

- use update-alternatives the right way - which is portable too

- remove --force usage in favor of portable rm (SLE11)

OBS-URL: https://build.opensuse.org/request/show/181438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=45
2013-07-03 14:53:12 +00:00
Stephan Kulow
efcc201431 - change too strict ruby20 requires with _ge
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=63
2013-06-29 12:48:09 +00:00
Stephan Kulow
9cb1d18f90 Accepting request 181067 from OBS:Server:Unstable
- use update-alternatives the right way - which is portable too

OBS-URL: https://build.opensuse.org/request/show/181067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=62
2013-06-26 16:57:11 +00:00
Stephan Kulow
c8edd27a07 Accepting request 180818 from OBS:Server:Unstable
- remove --force usage in favor of portable rm (SLE11)

OBS-URL: https://build.opensuse.org/request/show/180818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=61
2013-06-25 09:11:49 +00:00
Stephan Kulow
7b89ce6378 Accepting request 177548 from devel:languages:ruby
- use --force for update-alternatives

OBS-URL: https://build.opensuse.org/request/show/177548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=44
2013-06-05 11:11:34 +00:00
Stephan Kulow
9ad13026de - use --force for update-alternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=59
2013-06-04 17:05:13 +00:00
Stephan Kulow
5a69063442 Accepting request 174498 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/174498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=43
2013-05-07 05:34:29 +00:00
Klaus Kämpf
bfc2c80d6f Accepting request 173679 from devel:languages:ruby
- switch to ruby 2.0 default

OBS-URL: https://build.opensuse.org/request/show/173679
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=57
2013-05-02 07:41:27 +00:00
Stephan Kulow
495ef5fe74 Accepting request 149508 from devel:languages:ruby
fix bootstrap problem. fixed changelog (forwarded request 149455 from adrianSuSE)

OBS-URL: https://build.opensuse.org/request/show/149508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=41
2013-01-22 16:50:33 +00:00
Stephan Kulow
64cc6ac89f Accepting request 149455 from openSUSE:Tools:2.4
fix bootstrap problem. fixed changelog

OBS-URL: https://build.opensuse.org/request/show/149455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=55
2013-01-22 08:21:57 +00:00
Stephan Kulow
f2b6a09414 Accepting request 142157 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/142157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=40
2012-11-22 16:23:05 +00:00
Stephan Kulow
981a1ecad4 - ruby-common no longer provides anything that ruby requires,
so remove it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=53
2012-11-13 14:14:41 +00:00
Stephan Kulow
803078c87e Accepting request 140048 from devel:languages:ruby
- buildignore own subpackages to avoid bootstrap problem

OBS-URL: https://build.opensuse.org/request/show/140048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=39
2012-11-03 20:31:09 +00:00
Stephan Kulow
063e408fc6 - buildignore own subpackages to avoid bootstrap problem
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=51
2012-11-03 15:32:07 +00:00
Stephan Kulow
0c0b069b02 Accepting request 134048 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=38
2012-09-17 12:09:04 +00:00
Stephan Kulow
7c72551d75 - reenable rdoc generation, no need to differ from upstream there
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=49
2012-08-06 10:31:34 +00:00
Stephan Kulow
5e3c0b0fb0 Accepting request 129614 from devel:languages:ruby
- add update-alternatives for ruby provided binaries

- expand ruby19 gemspecs as provides automatically (forwarded request 129585 from coolo)

OBS-URL: https://build.opensuse.org/request/show/129614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=37
2012-08-04 07:33:27 +00:00
Stephan Kulow
9ab5cd3949 Accepting request 129585 from openSUSE:Tools:Unstable
- add update-alternatives for ruby provided binaries

- expand ruby19 gemspecs as provides automatically

OBS-URL: https://build.opensuse.org/request/show/129585
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=47
2012-08-01 18:58:56 +00:00
Stephan Kulow
81bbd6673e Accepting request 128960 from devel:languages:ruby
- split out ruby-common into a package on its own

OBS-URL: https://build.opensuse.org/request/show/128960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=36
2012-07-30 19:52:00 +00:00
Stephan Kulow
9d8456859a - remove rubygem-requires - rpm does it correctly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=45
2012-07-26 09:53:35 +00:00
Stephan Kulow
af87e266ae add some great license :)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=44
2012-07-26 07:39:28 +00:00
Stephan Kulow
4b4c0dfe59 - split out ruby-common into a package on its own
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=43
2012-07-26 07:36:40 +00:00
Stephan Kulow
53dbe04f09 Accepting request 128957 from openSUSE:Tools:Unstable
- map the != operator to > - which might be wrong in 50% of all cases

- require a patched rpm in case rpm does not have magic hooks

- move the option parsing to a shell script that is able to do it
  rightly (rpm macros are just *BAD*)

- make the rubygemdeps a ruby script much more clever about gemspecs

- Another take on %gem_install, the version w/o passing parameters
  seemed to be wrong

- avoid *.gemspec, we get problems if we there are two

- remove too relaxing permissions from unpacked archive

- add a provides for ruby-macros

- Fix %gem_unpack:
  Fetch Gemspec from gem metadata for gems that don't package Gemspecs
  but generate them programatically

OBS-URL: https://build.opensuse.org/request/show/128957
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=42
2012-07-26 07:25:42 +00:00
Stephan Kulow
af6e61df5a Accepting request 128212 from devel:languages:ruby
OBS-URL: https://build.opensuse.org/request/show/128212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=35
2012-07-19 15:59:42 +00:00
e7bd882f6d Accepting request 128132 from home:saschpe:branches:devel:languages:ruby
- Fix ruby(abi) requires generation, the path glob was to broad

OBS-URL: https://build.opensuse.org/request/show/128132
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=40
2012-07-17 14:33:57 +00:00
Stephan Kulow
677210366f Accepting request 127560 from devel:languages:ruby
- rename $bin19 binaries to $bin

OBS-URL: https://build.opensuse.org/request/show/127560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=34
2012-07-12 12:49:58 +00:00
Stephan Kulow
26ccd3ff50 one more fix for 11.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=38
2012-07-11 06:20:11 +00:00
Stephan Kulow
7897674e0e - gem_install_wrapper no longer necessary
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=37
2012-07-11 05:44:58 +00:00
Stephan Kulow
bb63ee48ea - rename $bin19 binaries to $bin
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=36
2012-07-09 05:18:17 +00:00
Stephan Kulow
f9d2436ac0 Accepting request 127078 from devel:languages:ruby
- Fix old-style %gem_install macro (missing parameter) (forwarded request 127075 from saschpe)

OBS-URL: https://build.opensuse.org/request/show/127078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=33
2012-07-04 09:24:58 +00:00
Stephan Kulow
5c82dd3e1e Accepting request 127075 from home:saschpe:branches:devel:languages:ruby
- Fix old-style %gem_install macro (missing parameter)

OBS-URL: https://build.opensuse.org/request/show/127075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=34
2012-07-04 09:24:24 +00:00
Stephan Kulow
9be1e8a4bc Accepting request 127050 from devel:languages:ruby
- Provide the following new RPM macros:
  + %gem_unpack
  + %gem_build
  + %gem_install (retaining the old behavior)

- add automatic provides and requires for rubygems (forwarded request 127027 from coolo)

OBS-URL: https://build.opensuse.org/request/show/127050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=32
2012-07-04 07:08:43 +00:00
Stephan Kulow
96685ceb06 Accepting request 127027 from home:coolo:branches:openSUSE:Factory
- Provide the following new RPM macros:
  + %gem_unpack
  + %gem_build
  + %gem_install (retaining the old behavior)

- add automatic provides and requires for rubygems

OBS-URL: https://build.opensuse.org/request/show/127027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=32
2012-07-04 05:08:42 +00:00
Stephan Kulow
3546ed42e8 prepare_spec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=31
2012-07-02 14:18:33 +00:00
Stephan Kulow
01937ea3d4 Accepting request 125423 from devel:languages:ruby
- also add the old macro names as wrapper (forwarded request 125410 from coolo)

OBS-URL: https://build.opensuse.org/request/show/125423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=31
2012-06-25 12:23:38 +00:00
Stephan Kulow
bfc8a1a101 Accepting request 125410 from home:coolo:branches:openSUSE:Factory
- also add the old macro names as wrapper

OBS-URL: https://build.opensuse.org/request/show/125410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=28
2012-06-19 11:40:52 +00:00
Stephan Kulow
3dfe74b1b3 Accepting request 116733 from devel:languages:ruby
- make this package a wrapper around the default ruby - ruby19 for now (forwarded request 116706 from coolo)

OBS-URL: https://build.opensuse.org/request/show/116733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=29
2012-05-10 12:34:00 +00:00
Duncan Mac-Vicar
0c35e79f90 Accepting request 116706 from devel:languages:ruby:1.9
- make this package a wrapper around the default ruby - ruby19 for now

OBS-URL: https://build.opensuse.org/request/show/116706
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=27
2012-05-08 11:54:54 +00:00
Stephan Kulow
eb59897afb Accepting request 108100 from devel:languages:ruby
patch license to follow spdx.org standard (forwarded request 104504 from coolo)

OBS-URL: https://build.opensuse.org/request/show/108100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=28
2012-03-06 13:07:05 +00:00