90 Commits

Author SHA256 Message Date
4902ef27e2 Accepting request 1239483 from devel:languages:ruby
Forwarded request #1239482 from darix

- do not generate unversioned conflicts

OBS-URL: https://build.opensuse.org/request/show/1239483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=31
2025-01-23 16:56:44 +00:00
7bb34162f7 Accepting request 1219472 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=30
2024-10-31 15:09:11 +00:00
0412ae229e - update gem_packages.spec.erb by syncing with gem2rpm
- drop group tag
  - only emit manual comments if we actually put out content
  - mark docs explicitely with the %doc tag
  - stop using deprecated PreReq for update-alternatives

- update suse.patch and sync in ruby-common/gem_packages.spec.erb

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=138
2024-10-08 00:30:02 +00:00
d461f359b5 Accepting request 1204269 from devel:languages:ruby
- update gem_packages.spec.erb:
  dont strip the newline at the end of main:filelist output

OBS-URL: https://build.opensuse.org/request/show/1204269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=29
2024-09-29 16:09:27 +00:00
74dea9518b - update gem_packages.spec.erb:
dont strip the newline at the end of main:filelist output

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=136
2024-09-28 00:01:22 +00:00
b2c9fb5a05 Accepting request 1179322 from devel:languages:ruby
- refactor the jemalloc requires code so that it can accomodate
  more feature flags
- add requires for yjit enabled ruby

OBS-URL: https://build.opensuse.org/request/show/1179322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=28
2024-06-09 18:19:02 +00:00
56655922e3 handle yjit in provides and requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=134
2024-06-07 14:11:41 +00:00
d9847defac Accepting request 1128358 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1128358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=27
2023-11-23 20:38:38 +00:00
445a87232e - gem_cleanup macro: yet another place which got hit by ruby 3.3
replace `gem env gemdir` with
  `ruby -r rubygems -e 'puts Gem.default_dir'`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=132
2023-11-16 14:26:47 +00:00
13ad85b94b - Fix for the previous change. we need to set the GEM_HOME before
even wrapping into the re-exec with ruby.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=131
2023-11-14 10:29:57 +00:00
9cf70d5884 Accepting request 1125725 from home:darix:apps
jemalloc locking + fix for ruby3.3~preview3 GEM_HOME breakage

OBS-URL: https://build.opensuse.org/request/show/1125725
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=130
2023-11-13 20:56:58 +00:00
157a073e5d Accepting request 1104976 from devel:languages:ruby
OBS-URL: https://build.opensuse.org/request/show/1104976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=26
2023-08-22 06:55:12 +00:00
Stephan Kulow
4a787af43a Accepting request 1085295 from home:jengelh:branches:devel:languages:ruby
- Remove old specfile constructs

OBS-URL: https://build.opensuse.org/request/show/1085295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=128
2023-08-21 05:31:46 +00:00
6d1c987079 Accepting request 1086831 from devel:languages:ruby
- bump the version so we can require the new version to make it
  easier to depend on the new functionality

- Support runtime dependencies for the generated subpackages:
  syntax:
  Requires: rubygem(gemname)
  Recommends: rubygem(gemname:x) >= x.y
  This will be transformed into
  Requires: rubygem(ruby:<rubyabi>:gemname)
  Recommends: rubygem(ruby:<rubyabi>:gemname:x) >= x.y
  That way we ensure that every package only requires rubygems for
  the current ruby version.

OBS-URL: https://build.opensuse.org/request/show/1086831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=25
2023-05-14 14:31:32 +00:00
916a17d26f - bump the version so we can require the new version to make it
easier to depend on the new functionality

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=126
2023-05-12 21:29:34 +00:00
99701f00fd - Support runtime dependencies for the generated subpackages:
syntax:
  Requires: rubygem(gemname)
  Recommends: rubygem(gemname:x) >= x.y
  This will be transformed into
  Requires: rubygem(ruby:<rubyabi>:gemname)
  Recommends: rubygem(ruby:<rubyabi>:gemname:x) >= x.y
  That way we ensure that every package only requires rubygems for
  the current ruby version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=125
2023-05-12 21:25:06 +00:00
4a6e1e0f2a Accepting request 1085263 from devel:languages:ruby
- cleanup irp code
  - unify error handling using the exit_with_error function
  - ensure we add generated files
  - checkin the newly created package

- move new tools into a subpackage ruby-packaging-helpers to avoid
  dependency to /usr/bin/ruby

- Add 2 new utilities
  - irp aka initialize ruby package
    does exactly what the name says. does all the work to
    initialize a new ruby package
  - bundler-dumpdeps: script to generate BR/Requires based on a
    Gemfile.

OBS-URL: https://build.opensuse.org/request/show/1085263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=24
2023-05-08 15:23:46 +00:00
8c2870d272 Accepting request 1085262 from home:darix:apps
- cleanup irp code
  - unify error handling using the exit_with_error function
  - ensure we add generated files
  - checkin the newly created package

- move new tools into a subpackage ruby-packaging-helpers to avoid
  dependency to /usr/bin/ruby

- Add 2 new utilities
  - irp aka initialize ruby package
    does exactly what the name says. does all the work to
    initialize a new ruby package
  - bundler-dumpdeps: script to generate BR/Requires based on a
    Gemfile.

OBS-URL: https://build.opensuse.org/request/show/1085262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=123
2023-05-07 00:37:55 +00:00
0508c4a833 Accepting request 1064060 from devel:languages:ruby
- do not rely on file dependencies for getopt

- in the dependency generator for Gemfile.lock we now skip vendored
  deps

OBS-URL: https://build.opensuse.org/request/show/1064060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=23
2023-02-18 16:10:12 +00:00
c8d563420a - do not rely on file dependencies for getopt
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=121
2023-02-09 16:51:04 +00:00
28d4254ec9 Accepting request 1045283 from home:darix:apps
- in the dependency generator for Gemfile.lock we now skip vendored
  deps

OBS-URL: https://build.opensuse.org/request/show/1045283
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=120
2022-12-25 12:07:00 +00:00
b9cf6449ef Accepting request 1037867 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1037867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=22
2022-11-25 12:11:20 +00:00
623102ff7b - actually bump the version so we can require the newer version for
ruby3.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=118
2022-11-17 12:01:52 +00:00
68b70fa120 - replace File.exists? with File.exist? as the File.exists?
is no longer supported in 3.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=117
2022-11-17 12:00:45 +00:00
c1038db590 Accepting request 983973 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/983973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=21
2022-06-21 15:15:23 +00:00
ca23638520 Accepting request 982449 from home:darix:apps
- make %gem_unpack and %gem_build work when the default system ruby
  is not installed:
  both macros now use the %{gem_binary} define and we have a common
  macro %{set_gem_binary} to set this variable. the set macro will
  use the ruby-find-versioned to find a versioned version of gem.

OBS-URL: https://build.opensuse.org/request/show/982449
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=115
2022-06-13 12:53:59 +00:00
40ee58df46 Accepting request 957504 from devel:languages:ruby
OBS-URL: https://build.opensuse.org/request/show/957504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=20
2022-02-26 16:01:41 +00:00
Stephan Kulow
4337af7220 Accepting request 957161 from home:dirkmueller:Factory
- avoid bashism in gem_build_cleanup

OBS-URL: https://build.opensuse.org/request/show/957161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=114
2022-02-25 06:39:18 +00:00
b4644e8889 Accepting request 913949 from devel:languages:ruby
- Do not create links in /etc/alternatives at all - they are ghosts
  and rpm database will only be confused if we have some wrong
  information about them (the link target is defined at runtime)
 
  This aligns with ruby2.7 package to avoid file conflicts about
  bundler and other built in gems

OBS-URL: https://build.opensuse.org/request/show/913949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=19
2021-08-26 21:14:16 +00:00
963f8606ee Accepting request 913938 from home:coolo:branches:devel:languages:ruby
- Do not create links in /etc/alternatives at all - they are ghosts
  and rpm database will only be confused if we have some wrong
  information about them (the link target is defined at runtime)
 
  This aligns with ruby2.7 package to avoid file conflicts about
  bundler and other built in gems

OBS-URL: https://build.opensuse.org/request/show/913938
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=113
2021-08-24 07:21:08 +00:00
c4d4757b2a Accepting request 904758 from devel:languages:ruby
- Fix the links in /etc/alternatives not to point to themselves

For staging:n

OBS-URL: https://build.opensuse.org/request/show/904758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=18
2021-07-20 13:38:43 +00:00
Stephan Kulow
abbc00ff16 - Fix the links in /etc/alternatives not to point to themselves
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=112
2021-07-08 12:10:56 +00:00
c2dfc2e85b Accepting request 866992 from devel:languages:ruby
- cleanup the .gem.* dirs that rubygems creates on 3.0
  (boo#1180528)

- add support to package rubygems plugin dirs 
  as the file is conflicting you can only have one version of the
  same gem installed if it provides a rubygems plugin. at least for
  now

- disable docs and testsuite packaging by default
- support --no-document option

OBS-URL: https://build.opensuse.org/request/show/866992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=17
2021-01-30 12:55:59 +00:00
e5361093c1 Accepting request 866991 from home:darix:apps
- cleanup the .gem.* dirs that rubygems creates on 3.0
  (boo#1180528)

OBS-URL: https://build.opensuse.org/request/show/866991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=110
2021-01-26 19:18:16 +00:00
Stephan Kulow
2b22fe80f1 Accepting request 866671 from home:darix:apps
- add support to package rubygems plugin dirs 
  as the file is conflicting you can only have one version of the
  same gem installed if it provides a rubygems plugin. at least for
  now

- disable docs and testsuite packaging by default
- support --no-document option

OBS-URL: https://build.opensuse.org/request/show/866671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=109
2021-01-26 14:22:17 +00:00
fbcfa5064c Accepting request 736057 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/736057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=16
2019-10-10 09:51:59 +00:00
ed2cb12cf6 Accepting request 729438 from home:computersalat:devel:ruby
fix build for SLE 12 / Leap 42

OBS-URL: https://build.opensuse.org/request/show/729438
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=107
2019-10-08 09:29:17 +00:00
86b6a56a89 Accepting request 711680 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/711680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=15
2019-06-30 08:14:21 +00:00
0a7762d16c Accepting request 701957 from home:dimstar:Factory
Move RPM macros to %_rpmmacrodir.

OBS-URL: https://build.opensuse.org/request/show/701957
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=105
2019-06-24 10:52:16 +00:00
Stephan Kulow
faf94f33a6 Accepting request 679513 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/679513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=14
2019-03-01 19:29:34 +00:00
7623bcfe5d Accepting request 679061 from home:darix:apps
- rails.macros: add macro to fix ruby shebang line

- rails.macros: always use ./bin/* stubs for calling binaries

- do not try to delete git files in the rails macros

OBS-URL: https://build.opensuse.org/request/show/679061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=103
2019-02-25 20:42:46 +00:00
890296d913 Accepting request 660610 from home:darix:apps
- --no-rdoc/--no-ri are obsolete in, if we get it passed in convert
  them to --no-document

OBS-URL: https://build.opensuse.org/request/show/660610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=102
2018-12-21 23:36:25 +00:00
46bd6f10d7 Accepting request 620969 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=13
2018-07-13 08:13:27 +00:00
e06907ab0e cleanup files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=100
2018-06-15 17:28:58 +00:00
Jordi Massaguer
bd28d977e1 Accepting request 617126 from home:darix:ruby
- rename the gem_packages template from opensuse.spec.erb to
  gem_packages.spec.erb
- add support for binary_map flag in gem2rpm.yml
  - This can be used to rename the _unversioned_ symlink of the
    binaries in /usr/bin/ to avoid conflicts with other packages
- gem_packages.spec.erb: sync with file in gem2rpm

OBS-URL: https://build.opensuse.org/request/show/617126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=99
2018-06-15 17:02:44 +00:00
8e47fe5b94 Accepting request 574040 from devel:languages:ruby
OBS-URL: https://build.opensuse.org/request/show/574040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=12
2018-02-12 09:08:32 +00:00
Stephan Kulow
ea19926d07 Accepting request 569569 from home:lnussel:branches:devel:languages:ruby
- generate bundled(rubygem($name)) = $version provides for bundled
  gems in the vendor directory.

OBS-URL: https://build.opensuse.org/request/show/569569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=97
2018-02-08 06:32:02 +00:00
20e9485ddc Accepting request 558540 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/558540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=11
2017-12-21 10:27:18 +00:00
6106252abc Accepting request 556491 from home:darix:apps
- switch requires of the autogenerated subpackages from
  rb_suffix-rubygem-gemname = version to
  rubygem(rb_abi:gemname) = version

- split our the rails part

- we need bundler now. given ruby 2.5 will have it intree anyway,
  this soon wont be a big burden.

- add support to generate requires from Gemfile.lock

- package the buildinfo dir
- allow passing options to extconf.rb

OBS-URL: https://build.opensuse.org/request/show/556491
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=95
2017-12-18 14:59:30 +00:00
2963b22a45 Accepting request 503701 from devel:languages:ruby
1

OBS-URL: https://build.opensuse.org/request/show/503701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=10
2017-06-20 08:58:26 +00:00
a6b3ba995c Accepting request 503510 from home:bmwiedemann:reproducible
Call fdupes -o name to make sure we always create symlinks in the same direction to make builds reproducible

OBS-URL: https://build.opensuse.org/request/show/503510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=93
2017-06-14 13:35:48 +00:00
4ac45903a3 Accepting request 367890 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/367890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=9
2016-03-11 08:46:58 +00:00
75d1c0de7c - 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'.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=91
2016-03-01 01:05:13 +00:00
Stephan Kulow
c3268785c6 Accepting request 312526 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/312526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=8
2015-07-05 15:56:06 +00:00
d28464f23c Accepting request 311641 from home:lnussel
- help the solver to pick the right gem2rpm for the default ruby
  version (bnc#934328)

OBS-URL: https://build.opensuse.org/request/show/311641
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=89
2015-06-11 14:36:38 +00:00
Stephan Kulow
9b3598a72b Accepting request 305057 from devel:languages:ruby
- Fix patching of the shebang line (forwarded request 305056 from darix)

OBS-URL: https://build.opensuse.org/request/show/305057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=7
2015-05-07 06:28:03 +00:00
a85e941c04 Accepting request 305056 from home:darix:ruby
- Fix patching of the shebang line

OBS-URL: https://build.opensuse.org/request/show/305056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=87
2015-05-02 12:05:54 +00:00
Stephan Kulow
74c83c31c9 Accepting request 297509 from home:darix:ruby
- The script sometimes returned from gem install already although
  the install wasn't finished yet. This broke e.g. the binary
  rename part.

OBS-URL: https://build.opensuse.org/request/show/297509
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=86
2015-04-17 11:51:10 +00:00
Stephan Kulow
5a8ec3496b Accepting request 290792 from home:darix:ruby
- Fail early if gem install fails
  This avoids confusing error messages at the end of the build.

- More fixes for ruby 1.8

- Ruby 1.8 insists on the () for the parameter

- Cleaner solution for the extensions doc dir
  The other solution was also failing on 1.8

- Forgot another option for forwarding

- Do not overwrite options.otheropts

- Fixed forwarding of options to gem install

- Only use the extensions doc dir on MRI 2.1.x

- Fix the ruby suffix for distributions before 13.2
- Do not fail with --gem-binary

- 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

OBS-URL: https://build.opensuse.org/request/show/290792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=85
2015-03-14 16:46:00 +00:00
0740808b1d - call ruby with -x from shell wrappers otherwise we run into an
endless loop

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=84
2015-03-12 16:17:39 +00:00
abcd646b5a - rubygemsdeps.rb: add shell-launcher to avoid dependency on
a fixed ruby version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=83
2015-03-11 17:11:16 +00:00
0c8c995fea Accepting request 282339 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/282339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=6
2015-01-23 14:46:04 +00:00
e9e080dd40 Accepting request 281049 from home:dirkmueller:branches:devel:languages:ruby
- gem_install.sh: fix ruby shebang patching

OBS-URL: https://build.opensuse.org/request/show/281049
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=81
2015-01-14 10:41:22 +00:00
555369414c Accepting request 266116 from devel:languages:ruby
1

OBS-URL: https://build.opensuse.org/request/show/266116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=5
2014-12-23 10:52:18 +00:00
Stephan Kulow
783503d08e Accepting request 261861 from home:Ledest:bashisms
fix bashisms in generate_buildrequires.sh script

OBS-URL: https://build.opensuse.org/request/show/261861
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=79
2014-12-22 07:37:56 +00:00
Stephan Kulow
56bc898953 Accepting request 258690 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/258690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=4
2014-11-05 15:26:25 +00:00
a500be6d99 - ignore any files we find in */.gem/*. in some versions of
rubygems, gems that are installed are also copied to ~/.gem/.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=77
2014-10-21 15:58:26 +00:00
96d3b7f5ee Accepting request 257887 from devel:languages:ruby:backports
- 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

OBS-URL: https://build.opensuse.org/request/show/257887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=76
2014-10-21 15:56:21 +00:00
Stephan Kulow
123d50d553 Accepting request 257498 from devel:languages:ruby
- update gem_packages template from git

- 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.

- install gemrc on all distros

- dont delete .a files. there are actually gems where we need them
  like rubygem-libv8 for rubygem-therubyracer

- fix the case where we dont symlink the binaries. 

- gem_cleanup macro was missed when updating for old ruby versions.

- switch from "ruby -rrubygems -e 
  'print Gem::Specification.new.base_dir'"
  to "gem env gemdir"
 

- gem_build_cleanup: also delete static library files

- 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

OBS-URL: https://build.opensuse.org/request/show/257498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=3
2014-10-20 05:27:08 +00:00
Stephan Kulow
dd9e5e4b5d - update gem_packages template from git
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=74
2014-10-18 05:37:34 +00:00
0c812e5108 Accepting request 253103 from home:darix:ruby
- 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.

- install gemrc on all distros

- dont delete .a files. there are actually gems where we need them
  like rubygem-libv8 for rubygem-therubyracer

- fix the case where we dont symlink the binaries. 

- gem_cleanup macro was missed when updating for old ruby versions.

- switch from "ruby -rrubygems -e 
  'print Gem::Specification.new.base_dir'"
  to "gem env gemdir"
 

- gem_build_cleanup: also delete static library files

- 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.

OBS-URL: https://build.opensuse.org/request/show/253103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=73
2014-09-29 13:29:35 +00:00
Stephan Kulow
3bcddbc7fe Accepting request 249630 from devel:languages:ruby
1

OBS-URL: https://build.opensuse.org/request/show/249630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=2
2014-09-20 13:51:10 +00:00
Stephan Kulow
d141f8716a Accepting request 249617 from home:darix:ruby
- 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)

OBS-URL: https://build.opensuse.org/request/show/249617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=71
2014-09-16 17:50:15 +00:00
Stephan Kulow
1ccffc1cd9 Accepting request 248348 from devel:languages:ruby
new package needed for new ruby pkging

OBS-URL: https://build.opensuse.org/request/show/248348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=1
2014-09-12 09:28:23 +00:00
Stephan Kulow
947e1e510d Accepting request 248313 from devel:languages:ruby:factory
- disable extensions doc dir on rubinius

- workaround https://github.com/rubinius/rubinius/issues/2732
  for UTF8 locale in gem_packages.sh

- we actually need the splitted version in any case. uncomment it
  again

- 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

- 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

- 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

- ruby.macros: drop the duplicate gem macros

- fix small typo in opensuse.spec.erb which broke the formatting.

- no longer require ruby(-devel). ruby-common is required by
  rubyX.Y so we should always be installed and this breaks a small

OBS-URL: https://build.opensuse.org/request/show/248313
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=69
2014-09-10 11:32:21 +00:00
Stephan Kulow
26e6542b07 Accepting request 232110 from home:aspiers:branches:devel:languages:ruby
- 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"

OBS-URL: https://build.opensuse.org/request/show/232110
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=68
2014-04-30 05:08:37 +00:00
Klaus Kämpf
6e886a6048 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=67 2014-02-13 15:13:27 +00:00
Stephan Kulow
e96f0e3337 - replace all */ruby with /usr/bin/ruby
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=13
2012-07-30 10:39:30 +00:00
Stephan Kulow
0d05c4d098 catch errors
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=12
2012-07-28 20:30:18 +00:00
Stephan Kulow
e12482ed93 - replace /usr/local/bin/ruby with /usr/bin/ruby - a very often mistake
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=11
2012-07-27 14:03:20 +00:00
Stephan Kulow
0c14cc3779 Accepting request 128985 from devel:languages:ruby:backports
- fix ruby provides/requires with ruby 1.8

OBS-URL: https://build.opensuse.org/request/show/128985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=10
2012-07-26 11:15:10 +00:00
Stephan Kulow
c609c92ffb OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=9 2012-07-26 10:41:00 +00:00
Stephan Kulow
67525b8a91 we need newer rubygems version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=8
2012-07-26 10:40:23 +00:00
Stephan Kulow
c4b3d950d4 - old gems do not have a gem unpack --spec, so use gem specification
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=7
2012-07-26 10:28:50 +00:00
Stephan Kulow
8661186776 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=6 2012-07-26 10:19:59 +00:00
Stephan Kulow
ca4771e4a3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=5 2012-07-26 09:54:10 +00:00
Stephan Kulow
e78369db43 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=4 2012-07-26 09:32:52 +00:00
Stephan Kulow
791bc4b301 Accepting request 128978 from devel:languages:ruby:backports
- catch unspecified gem_binary

OBS-URL: https://build.opensuse.org/request/show/128978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=3
2012-07-26 09:30:31 +00:00
Stephan Kulow
8520e5a326 add a license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=2
2012-07-26 07:41:10 +00:00
Stephan Kulow
b52fd6d705 osc copypac from project:devel:languages:ruby:backports package:ruby-common revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=1
2012-07-26 07:22:03 +00:00

Diff Content Not Available