Skip to content

Commit

Permalink
Stop relying on bundle_gems service
Browse files Browse the repository at this point in the history
Use vendor/cache from git instead
  • Loading branch information
hennevogel committed Jul 19, 2022
1 parent a3fce4c commit 89eb6ab
Show file tree
Hide file tree
Showing 206 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions dist/obs-bundled-gems.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ Summary: The Open Build Service -- Bundled Gems
License: GPL-2.0-only OR GPL-3.0-only
Group: Productivity/Networking/Web/Utilities
Url: http://www.openbuildservice.org
Source0: Gemfile
Source1: Gemfile.lock
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cyrus-sasl-devel
Expand All @@ -38,6 +36,7 @@ BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libffi-devel
BuildRequires: make
BuildRequires: mysql-devel
BuildRequires: nodejs
Expand Down Expand Up @@ -89,21 +88,21 @@ echo > README <<EOF
This package is just a meta package containing requires
EOF

cp %{S:0} %{S:1} .

# copy gem files into cache
mkdir -p vendor/cache
cp %{_sourcedir}/vendor/cache/*.gem vendor/cache

%build
# emtpy since bundle does not decouple compile and install

%install
# all operations here since bundle does not decouple compile and install
pushd %{_sourcedir}/open-build-service-*/src/api
export GEM_HOME=~/.gems
bundle config build.ffi --enable-system-libffi
bundle config build.nokogiri --use-system-libraries
bundle config build.sassc --disable-march-tune-native
bundle config build.nio4r --with-cflags='%{optflags} -Wno-return-type'
bundle config force_ruby_platform true

bundle --local --path %{buildroot}%_libdir/obs-api/
popd

# Make sure rake and rack in Gemfile.lock match the versions from the
# rubygem-rack and ruby2.7 packages
Expand Down
1 change: 1 addition & 0 deletions dist/obs-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ export DESTDIR=$RPM_BUILD_ROOT
pushd src/api
# configure to the bundled gems
bundle --local --path %_libdir/obs-api/
rm -rf vendor/cache/*
popd

#
Expand Down
Binary file added src/api/vendor/cache/actioncable-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/actionmailer-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/actionpack-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/actionview-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/activejob-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/activemodel-5.2.8.1.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/activerecord-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/activestorage-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/activesupport-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/acts_as_list-0.9.19.gem
Binary file not shown.
Binary file added src/api/vendor/cache/acts_as_tree-2.9.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/addressable-2.6.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/airbrake-8.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/airbrake-ruby-3.1.0.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/amq-protocol-2.3.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/ansi-1.5.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/arel-9.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/ast-2.4.2.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/bcrypt-3.1.13.gem
Binary file not shown.
Binary file added src/api/vendor/cache/bootstrap-4.3.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/builder-3.2.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/bullet-6.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/bunny-2.14.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/bunny-mock-1.7.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/byebug-11.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/capybara-3.24.0.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/childprocess-3.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/chunky_png-1.3.11.gem
Binary file not shown.
Binary file added src/api/vendor/cache/clockwork-2.0.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/cocoon-1.2.14.gem
Binary file not shown.
Binary file added src/api/vendor/cache/codecov-0.5.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/codemirror-rails-5.16.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/coderay-1.1.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/coffee-rails-5.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/coffee-script-2.4.1.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/colorize-0.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/concurrent-ruby-1.1.5.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/coveralls-0.8.23.gem
Binary file not shown.
Binary file added src/api/vendor/cache/crack-0.4.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/crass-1.0.6.gem
Binary file not shown.
Binary file added src/api/vendor/cache/cssmin-1.0.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/daemons-1.3.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/dalli-2.7.10.gem
Binary file not shown.
Binary file added src/api/vendor/cache/data_migrate-5.3.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/database_cleaner-1.7.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/deep_cloneable-2.4.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/delayed_job-4.1.7.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/diff-lcs-1.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/docile-1.4.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/equatable-0.6.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/erubi-1.10.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/erubis-2.7.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/escape_utils-1.2.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/execjs-2.7.0.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/factory_bot-5.0.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/factory_bot_rails-5.0.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/faker-1.9.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/feature-1.4.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/ffi-1.11.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/flot-rails-0.0.7.gem
Binary file not shown.
Binary file added src/api/vendor/cache/font-awesome-sass-5.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/globalid-1.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/gssapi-1.3.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/haml-5.1.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/haml-rails-2.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/haml_lint-0.40.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/hashdiff-0.4.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/html2haml-2.2.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/i18n-1.8.11.gem
Binary file not shown.
Binary file added src/api/vendor/cache/influxdb-0.7.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/innertube-1.1.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/jaro_winkler-1.5.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/joiner-0.4.2.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/jquery-rails-4.4.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/jquery-ui-rails-4.2.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/json-2.5.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/kaminari-1.2.1.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/kaminari-core-1.2.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/launchy-2.4.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/lograge-0.11.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/loofah-2.9.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/mail-2.7.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/marcel-1.0.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/metaclass-0.0.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/method_source-0.9.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/middleware-0.1.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/mini_mime-1.1.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/mini_portile2-2.8.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/minitest-5.14.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/minitest-ci-3.4.0.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/mocha-1.9.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/momentjs-rails-2.20.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/mousetrap-rails-1.4.6.gem
Binary file not shown.
Binary file added src/api/vendor/cache/mysql2-0.5.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/nio4r-2.5.8.gem
Binary file not shown.
Binary file added src/api/vendor/cache/nokogiri-1.13.6.gem
Binary file not shown.
Binary file added src/api/vendor/cache/parallel-1.17.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/parser-3.1.2.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/pastel-0.7.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/peek-1.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/peek-dalli-1.2.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/peek-host-1.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/peek-mysql2-1.2.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/pkg-config-1.4.7.gem
Binary file not shown.
Binary file added src/api/vendor/cache/popper_js-1.14.5.gem
Binary file not shown.
Binary file added src/api/vendor/cache/power_assert-1.1.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/pry-0.12.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/pry-byebug-3.7.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/public_suffix-3.1.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/puma-4.3.5.gem
Binary file not shown.
Binary file added src/api/vendor/cache/pundit-2.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/racc-1.6.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rack-2.2.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rack-test-1.1.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rails-5.2.8.1.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/rails-timeago-2.17.1.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/railties-5.2.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rainbow-3.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rake-13.0.6.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rantly-2.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rbtree-0.4.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rdoc-6.1.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/redcarpet-3.5.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/regexp_parser-1.5.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/request_store-1.4.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/responders-3.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/riddle-2.3.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rspec-3.8.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rspec-core-3.8.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rspec-expectations-3.8.4.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rspec-mocks-3.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rspec-rails-3.8.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rspec-support-3.8.2.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/rubocop-0.72.0.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/rubocop-rails-2.1.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rubocop-rspec-1.33.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/ruby-ldap-0.9.20.gem
Binary file not shown.
Binary file added src/api/vendor/cache/ruby-progressbar-1.10.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/ruby_parser-3.13.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rubyzip-2.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/safe_yaml-1.0.5.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sanitize-6.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sassc-2.0.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sassc-rails-2.1.2.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/sexp_processor-4.12.1.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/simplecov-0.16.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/simplecov-html-0.10.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/single_test-0.6.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sprite-factory-1.7.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sprockets-3.7.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sprockets-rails-3.2.2.gem
Binary file not shown.
Binary file added src/api/vendor/cache/strings-0.1.5.gem
Binary file not shown.
Binary file added src/api/vendor/cache/strings-ansi-0.1.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/sysexits-1.2.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tdigest-0.1.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/temple-0.8.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/term-ansicolor-1.7.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/test-unit-3.3.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/thinking-sphinx-4.3.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/thor-0.20.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/thread_safe-0.3.6.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tilt-2.0.9.gem
Binary file not shown.
Binary file added src/api/vendor/cache/timecop-0.9.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tins-1.20.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tty-color-0.5.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tty-pager-0.12.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tty-screen-0.6.5.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tty-tree-0.3.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tty-which-0.4.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/tzinfo-1.2.9.gem
Binary file not shown.
Binary file added src/api/vendor/cache/uglifier-4.1.20.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/unicode_utils-1.4.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/uniform_notifier-1.12.1.gem
Binary file not shown.
Binary file added src/api/vendor/cache/vcr-5.0.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/voight_kampff-1.1.3.gem
Binary file not shown.
Binary file added src/api/vendor/cache/webmock-3.6.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/websocket-driver-0.7.5.gem
Binary file not shown.
Binary file not shown.
Binary file added src/api/vendor/cache/xmlhash-1.3.8.gem
Binary file not shown.
Binary file added src/api/vendor/cache/xmlrpc-0.3.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/xpath-3.2.0.gem
Binary file not shown.
Binary file added src/api/vendor/cache/yajl-ruby-1.4.2.gem
Binary file not shown.

0 comments on commit 89eb6ab

Please sign in to comment.