Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
f36503d108 |
BIN
actioncable-8.0.2.1.gem
Normal file
BIN
actioncable-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
actioncable-8.0.2.gem
LFS
BIN
actioncable-8.0.2.gem
LFS
Binary file not shown.
BIN
actionmailbox-8.0.2.1.gem
Normal file
BIN
actionmailbox-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
actionmailbox-8.0.2.gem
LFS
BIN
actionmailbox-8.0.2.gem
LFS
Binary file not shown.
BIN
actionmailer-8.0.2.1.gem
Normal file
BIN
actionmailer-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
actionmailer-8.0.2.gem
LFS
BIN
actionmailer-8.0.2.gem
LFS
Binary file not shown.
BIN
actionpack-8.0.2.1.gem
Normal file
BIN
actionpack-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
actionpack-8.0.2.gem
LFS
BIN
actionpack-8.0.2.gem
LFS
Binary file not shown.
BIN
actiontext-8.0.2.1.gem
Normal file
BIN
actiontext-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
actiontext-8.0.2.gem
LFS
BIN
actiontext-8.0.2.gem
LFS
Binary file not shown.
BIN
actionview-8.0.2.1.gem
Normal file
BIN
actionview-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
actionview-8.0.2.gem
LFS
BIN
actionview-8.0.2.gem
LFS
Binary file not shown.
BIN
activejob-8.0.2.1.gem
Normal file
BIN
activejob-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
activejob-8.0.2.gem
LFS
BIN
activejob-8.0.2.gem
LFS
Binary file not shown.
BIN
activemodel-8.0.2.1.gem
Normal file
BIN
activemodel-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
activemodel-8.0.2.gem
LFS
BIN
activemodel-8.0.2.gem
LFS
Binary file not shown.
BIN
activerecord-8.0.2.1.gem
Normal file
BIN
activerecord-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
activerecord-8.0.2.gem
LFS
BIN
activerecord-8.0.2.gem
LFS
Binary file not shown.
BIN
activestorage-8.0.2.1.gem
Normal file
BIN
activestorage-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
activestorage-8.0.2.gem
LFS
BIN
activestorage-8.0.2.gem
LFS
Binary file not shown.
BIN
activesupport-8.0.2.1.gem
Normal file
BIN
activesupport-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
activesupport-8.0.2.gem
LFS
BIN
activesupport-8.0.2.gem
LFS
Binary file not shown.
Binary file not shown.
BIN
base64-0.2.0.gem
BIN
base64-0.2.0.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
crass-1.0.6.gem
BIN
crass-1.0.6.gem
Binary file not shown.
BIN
date-3.4.1.gem
BIN
date-3.4.1.gem
Binary file not shown.
Binary file not shown.
BIN
drb-2.2.1.gem
BIN
drb-2.2.1.gem
Binary file not shown.
BIN
erubi-1.13.1.gem
BIN
erubi-1.13.1.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ffi-1.17.1.gem
BIN
ffi-1.17.1.gem
Binary file not shown.
38
fix-mtime.patch
Normal file
38
fix-mtime.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
commit 3377ac69642d914584c04a9ab17ef836939753c2
|
||||
Author: Aleksei Burlakov <aburlakov@suse.com>
|
||||
Date: Thu Aug 28 14:31:40 2025 +0200
|
||||
|
||||
fix mtime, so that gz files are determenistic
|
||||
|
||||
diff --git a/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb b/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb
|
||||
index 3fd5228..cd2599e 100644
|
||||
--- a/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb
|
||||
+++ b/hawk/vendor/gems/sprockets-4.2.1/lib/sprockets/utils/gzip.rb
|
||||
@@ -10,13 +10,13 @@ module Sprockets
|
||||
# writes contents to the `file` passed in. Sets `mtime` of
|
||||
# written file to passed in `mtime`
|
||||
module ZlibArchiver
|
||||
- def self.call(file, source, mtime)
|
||||
+ def self.call(file, source, _mtime)
|
||||
gz = Zlib::GzipWriter.new(file, Zlib::BEST_COMPRESSION)
|
||||
- gz.mtime = mtime
|
||||
+ gz.mtime = 0
|
||||
gz.write(source)
|
||||
gz.close
|
||||
|
||||
- File.utime(mtime, mtime, file.path)
|
||||
+ File.utime(0, 0, file.path)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -28,8 +28,8 @@ module Sprockets
|
||||
# writes contents to the `file` passed in. Sets `mtime` of
|
||||
# written file to passed in `mtime`
|
||||
module ZopfliArchiver
|
||||
- def self.call(file, source, mtime)
|
||||
- compressed_source = Autoload::Zopfli.deflate(source, format: :gzip, mtime: mtime)
|
||||
+ def self.call(file, source, _mtime)
|
||||
+ compressed_source = Autoload::Zopfli.deflate(source, format: :gzip, mtime: 0)
|
||||
file.write(compressed_source)
|
||||
file.close
|
||||
|
||||
Binary file not shown.
@@ -31,29 +31,29 @@ Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
+GEM
|
||||
+ remote: https://rubygems.org/
|
||||
+ specs:
|
||||
+ actioncable (8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ actioncable (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ nio4r (~> 2.0)
|
||||
+ websocket-driver (>= 0.6.1)
|
||||
+ zeitwerk (~> 2.6)
|
||||
+ actionmailbox (8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ activejob (= 8.0.2)
|
||||
+ activerecord (= 8.0.2)
|
||||
+ activestorage (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ actionmailbox (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activestorage (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ mail (>= 2.8.0)
|
||||
+ actionmailer (8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ actionview (= 8.0.2)
|
||||
+ activejob (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ actionmailer (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ actionview (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ mail (>= 2.8.0)
|
||||
+ rails-dom-testing (~> 2.2)
|
||||
+ actionpack (8.0.2)
|
||||
+ actionview (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ actionpack (8.0.2.1)
|
||||
+ actionview (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ nokogiri (>= 1.8.5)
|
||||
+ rack (>= 2.2.4)
|
||||
+ rack-session (>= 1.0.1)
|
||||
@@ -61,35 +61,35 @@ Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
+ rails-dom-testing (~> 2.2)
|
||||
+ rails-html-sanitizer (~> 1.6)
|
||||
+ useragent (~> 0.16)
|
||||
+ actiontext (8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ activerecord (= 8.0.2)
|
||||
+ activestorage (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ actiontext (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activestorage (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ globalid (>= 0.6.0)
|
||||
+ nokogiri (>= 1.8.5)
|
||||
+ actionview (8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ actionview (8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ builder (~> 3.1)
|
||||
+ erubi (~> 1.11)
|
||||
+ rails-dom-testing (~> 2.2)
|
||||
+ rails-html-sanitizer (~> 1.6)
|
||||
+ activejob (8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ activejob (8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ globalid (>= 0.3.6)
|
||||
+ activemodel (8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ activerecord (8.0.2)
|
||||
+ activemodel (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ activemodel (8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ activerecord (8.0.2.1)
|
||||
+ activemodel (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ timeout (>= 0.4.0)
|
||||
+ activestorage (8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ activejob (= 8.0.2)
|
||||
+ activerecord (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ activestorage (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ marcel (~> 1.0)
|
||||
+ activesupport (8.0.2)
|
||||
+ activesupport (8.0.2.1)
|
||||
+ base64
|
||||
+ benchmark (>= 0.3)
|
||||
+ bigdecimal
|
||||
@@ -196,7 +196,7 @@ Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
+ puma (6.6.0)
|
||||
+ nio4r (~> 2.0)
|
||||
+ racc (1.8.1)
|
||||
+ rack (3.1.16)
|
||||
+ rack (3.1.18)
|
||||
+ rack-session (2.1.1)
|
||||
+ base64 (>= 0.1.0)
|
||||
+ rack (>= 3.0.0)
|
||||
@@ -204,20 +204,20 @@ Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
+ rack (>= 1.3)
|
||||
+ rackup (2.2.1)
|
||||
+ rack (>= 3)
|
||||
+ rails (8.0.2)
|
||||
+ actioncable (= 8.0.2)
|
||||
+ actionmailbox (= 8.0.2)
|
||||
+ actionmailer (= 8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ actiontext (= 8.0.2)
|
||||
+ actionview (= 8.0.2)
|
||||
+ activejob (= 8.0.2)
|
||||
+ activemodel (= 8.0.2)
|
||||
+ activerecord (= 8.0.2)
|
||||
+ activestorage (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ rails (8.0.2.1)
|
||||
+ actioncable (= 8.0.2.1)
|
||||
+ actionmailbox (= 8.0.2.1)
|
||||
+ actionmailer (= 8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ actiontext (= 8.0.2.1)
|
||||
+ actionview (= 8.0.2.1)
|
||||
+ activejob (= 8.0.2.1)
|
||||
+ activemodel (= 8.0.2.1)
|
||||
+ activerecord (= 8.0.2.1)
|
||||
+ activestorage (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ bundler (>= 1.15.0)
|
||||
+ railties (= 8.0.2)
|
||||
+ railties (= 8.0.2.1)
|
||||
+ rails-dom-testing (2.2.0)
|
||||
+ activesupport (>= 5.0.0)
|
||||
+ minitest
|
||||
@@ -225,9 +225,9 @@ Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
+ rails-html-sanitizer (1.6.2)
|
||||
+ loofah (~> 2.21)
|
||||
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
||||
+ railties (8.0.2)
|
||||
+ actionpack (= 8.0.2)
|
||||
+ activesupport (= 8.0.2)
|
||||
+ railties (8.0.2.1)
|
||||
+ actionpack (= 8.0.2.1)
|
||||
+ activesupport (= 8.0.2.1)
|
||||
+ irb (~> 1.13)
|
||||
+ rackup (>= 1.0.0)
|
||||
+ rake (>= 12.2)
|
||||
@@ -269,7 +269,7 @@ Index: hawk2-2.6.6+git.1742310530.bfcd0e2c/hawk/Gemfile.lock
|
||||
+ concurrent-ruby (~> 1.0)
|
||||
+ uglifier (4.2.1)
|
||||
+ execjs (>= 0.3.0, < 3)
|
||||
+ uri (1.0.3)
|
||||
+ uri (1.0.4)
|
||||
+ useragent (0.16.11)
|
||||
+ virtus (2.0.0)
|
||||
+ axiom-types (~> 0.1)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,46 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 16 08:07:04 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump ruby gem rack to 3.1.18 (bsc#1251939)
|
||||
* rack-3.1.18.gem
|
||||
|
||||
- bump ruby gem uri to 1.0.4
|
||||
* uri-1.0.4.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 3 11:22:00 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- fix the mtime in manifest.json (bsc#1230275)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 31 08:31:09 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- Make builds determinitstic (bsc#1230275)
|
||||
* add fix-mtime.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 14:56:13 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- bump rails version from 8.0.2 to 8.0.2.1 (bsc#1248100)
|
||||
* actioncable-8.0.2.gem --> actioncable-8.0.2.1.gem
|
||||
* actionmailbox-8.0.2.gem --> actionmailbox-8.0.2.1.gem
|
||||
* actionmailer-8.0.2.gem --> actionmailer-8.0.2.1.gem
|
||||
* actionpack-8.0.2.gem --> actionpack-8.0.2.1.gem
|
||||
* actiontext-8.0.2.gem --> actiontext-8.0.2.1.gem
|
||||
* actionview-8.0.2.gem --> actionview-8.0.2.1.gem
|
||||
* activejob-8.0.2.gem --> activejob-8.0.2.1.gem
|
||||
* activemodel-8.0.2.gem --> activemodel-8.0.2.1.gem
|
||||
* activerecord-8.0.2.gem --> activerecord-8.0.2.1.gem
|
||||
* activestorage-8.0.2.gem --> activestorage-8.0.2.1.gem
|
||||
* activesupport-8.0.2.gem --> activesupport-8.0.2.1.gem
|
||||
* rails-8.0.2.gem --> rails-8.0.2.1.gem
|
||||
* railties-8.0.2.gem --> railties-8.0.2.1.gem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 07:10:05 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
- require openssl explicitelly (bsc#1247899)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 11:33:43 UTC 2025 - Aleksei Burlakov <aburlakov@suse.com>
|
||||
|
||||
|
||||
100
hawk2.spec
100
hawk2.spec
@@ -59,8 +59,8 @@ Source10: logger-1.7.0.gem
|
||||
Source11: minitest-5.25.5.gem
|
||||
Source12: securerandom-0.4.1.gem
|
||||
Source13: tzinfo-2.0.6.gem
|
||||
Source14: uri-1.0.3.gem
|
||||
Source15: activesupport-8.0.2.gem
|
||||
Source14: uri-1.0.4.gem
|
||||
Source15: activesupport-8.0.2.1.gem
|
||||
Source16: builder-3.3.0.gem
|
||||
Source17: erubi-1.13.1.gem
|
||||
Source18: mini_portile2-2.8.8.gem
|
||||
@@ -70,24 +70,24 @@ Source21: rails-dom-testing-2.2.0.gem
|
||||
Source22: crass-1.0.6.gem
|
||||
Source23: loofah-2.24.0.gem
|
||||
Source24: rails-html-sanitizer-1.6.2.gem
|
||||
Source25: actionview-8.0.2.gem
|
||||
Source26: rack-3.1.16.gem
|
||||
Source25: actionview-8.0.2.1.gem
|
||||
Source26: rack-3.1.18.gem
|
||||
Source27: rack-session-2.1.1.gem
|
||||
Source28: rack-test-2.2.0.gem
|
||||
Source29: useragent-0.16.11.gem
|
||||
Source30: actionpack-8.0.2.gem
|
||||
Source30: actionpack-8.0.2.1.gem
|
||||
Source31: nio4r-2.7.4.gem
|
||||
Source32: websocket-extensions-0.1.5.gem
|
||||
Source33: websocket-driver-0.7.7.gem
|
||||
Source34: zeitwerk-2.7.2.gem
|
||||
Source35: actioncable-8.0.2.gem
|
||||
Source35: actioncable-8.0.2.1.gem
|
||||
Source36: globalid-1.2.1.gem
|
||||
Source37: activejob-8.0.2.gem
|
||||
Source38: activemodel-8.0.2.gem
|
||||
Source37: activejob-8.0.2.1.gem
|
||||
Source38: activemodel-8.0.2.1.gem
|
||||
Source39: timeout-0.4.3.gem
|
||||
Source40: activerecord-8.0.2.gem
|
||||
Source40: activerecord-8.0.2.1.gem
|
||||
Source41: marcel-1.0.4.gem
|
||||
Source42: activestorage-8.0.2.gem
|
||||
Source42: activestorage-8.0.2.1.gem
|
||||
Source43: mini_mime-1.1.5.gem
|
||||
Source44: date-3.4.1.gem
|
||||
Source45: net-protocol-0.2.2.gem
|
||||
@@ -95,9 +95,9 @@ Source46: net-imap-0.5.8.gem
|
||||
Source47: net-pop-0.1.2.gem
|
||||
Source48: net-smtp-0.5.1.gem
|
||||
Source49: mail-2.8.1.gem
|
||||
Source50: actionmailbox-8.0.2.gem
|
||||
Source51: actionmailer-8.0.2.gem
|
||||
Source52: actiontext-8.0.2.gem
|
||||
Source50: actionmailbox-8.0.2.1.gem
|
||||
Source51: actionmailer-8.0.2.1.gem
|
||||
Source52: actiontext-8.0.2.1.gem
|
||||
Source53: thread_safe-0.3.6.gem
|
||||
Source54: descendants_tracker-0.0.4.gem
|
||||
Source55: ice_nine-0.11.2.gem
|
||||
@@ -125,8 +125,8 @@ Source76: reline-0.6.0.gem
|
||||
Source77: irb-1.15.1.gem
|
||||
Source78: rackup-2.2.1.gem
|
||||
Source79: thor-1.4.0.gem
|
||||
Source80: railties-8.0.2.gem
|
||||
Source81: rails-8.0.2.gem
|
||||
Source80: railties-8.0.2.1.gem
|
||||
Source81: rails-8.0.2.1.gem
|
||||
Source82: gettext_i18n_rails_js-2.1.0.gem
|
||||
Source83: sorbet-runtime-0.5.11966.gem
|
||||
Source84: js-routes-2.3.5.gem
|
||||
@@ -146,6 +146,7 @@ Source100: hawk-rpmlintrc
|
||||
Patch1: make-sle16-compatible.patch
|
||||
Patch2: gemfile-lock.patch
|
||||
Patch3: update-hawk-backend-service.patch
|
||||
Patch4: fix-mtime.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: ha-cluster-webui
|
||||
Obsoletes: hawk <= 1.1.0
|
||||
@@ -154,6 +155,7 @@ Requires: crmsh >= 3.0.0
|
||||
Requires: graphviz
|
||||
Requires: graphviz-gd
|
||||
Requires: hawk-apiserver
|
||||
Requires: openssl
|
||||
Requires(post): %fillup_prereq
|
||||
# Need a font of some kind for graphviz to work correctly (bsc#931950)
|
||||
Requires: dejavu
|
||||
@@ -187,8 +189,23 @@ A web-based GUI for managing and monitoring the Pacemaker
|
||||
High-Availability cluster resource manager.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
|
||||
mkdir -p hawk/vendor/cache
|
||||
install -D %{_sourcedir}/*.gem hawk/vendor/cache
|
||||
export GEM_HOME=$PWD/hawk/vendor
|
||||
export NO_DEBUGINFO=1
|
||||
|
||||
pushd hawk
|
||||
bundle config set force_ruby_platform true
|
||||
bundle config set build.nokogiri --use-system-libraries=false
|
||||
bundle install --local
|
||||
|
||||
%patch -P 4 -p2
|
||||
popd
|
||||
|
||||
%build
|
||||
|
||||
@@ -196,40 +213,45 @@ mkdir -p hawk/vendor/cache
|
||||
install -D %{_sourcedir}/*.gem hawk/vendor/cache
|
||||
export GEM_HOME=$PWD/hawk/vendor
|
||||
export NO_DEBUGINFO=1
|
||||
|
||||
pushd hawk
|
||||
find vendor -name a.out -delete
|
||||
find vendor -name "*.so.debug" -delete
|
||||
find . -name ".*" ! -name "." ! -name ".." -exec rm -rf {} +
|
||||
find vendor/gems -type f -size 0 -exec rm -rf {} +
|
||||
|
||||
bundle config set force_ruby_platform true
|
||||
bundle config set build.nokogiri --use-system-libraries=false
|
||||
find vendor -type f -exec sed -i -E \
|
||||
-e '1s|^#! */usr/bin/env ruby(\.ruby3\.4)?$|#!/usr/bin/ruby|' \
|
||||
-e '1s|^#! */usr/bin/env ruby -wKU$|#!/usr/bin/ruby -wKU|' \
|
||||
-e '1s|^#! */usr/bin/env bash$|#!/usr/bin/bash|' {} \;
|
||||
|
||||
bundle install --local
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/rails
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/rake
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/bundle
|
||||
|
||||
find vendor -name a.out -delete
|
||||
find vendor -name "*.so.debug" -delete
|
||||
find . -name ".*" ! -name "." ! -name ".." -exec rm -rf {} +
|
||||
find vendor/gems -type f -size 0 -exec rm -rf {} +
|
||||
|
||||
find vendor -type f -exec sed -i -E \
|
||||
-e '1s|^#! */usr/bin/env ruby(\.ruby3\.4)?$|#!/usr/bin/ruby|' \
|
||||
-e '1s|^#! */usr/bin/env ruby -wKU$|#!/usr/bin/ruby -wKU|' \
|
||||
-e '1s|^#! */usr/bin/env bash$|#!/usr/bin/bash|' {} \;
|
||||
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/rails
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/rake
|
||||
sed -i 's$#!/.*$#!%{_bindir}/ruby.%{rb_suffix}$' bin/bundle
|
||||
|
||||
if [ -x /usr/bin/bundle.ruby.%{rb_suffix} ]; then
|
||||
bundlerexe=bundle.ruby.%{rb_suffix}
|
||||
else
|
||||
bundlerexe=bundle.%{rb_suffix}
|
||||
fi
|
||||
$bundlerexe exec bin/rails version
|
||||
if [ -x /usr/bin/bundle.ruby.%{rb_suffix} ]; then
|
||||
bundlerexe=bundle.ruby.%{rb_suffix}
|
||||
else
|
||||
bundlerexe=bundle.%{rb_suffix}
|
||||
fi
|
||||
$bundlerexe exec bin/rails version
|
||||
popd
|
||||
export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
|
||||
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
|
||||
export CFLAGS
|
||||
|
||||
### FYI: the 'bundle install' installs puma, not puma.ruby34 (although 'gem install puma-6.6.0.gem' installs puma.ruby34)
|
||||
make WWW_BASE=%{www_base} WWW_TMP=%{www_tmp} WWW_LOG=%{www_log} INIT_STYLE=%{init_style} LIBDIR=%{_libdir} BINDIR=%{_bindir} SBINDIR=%{_sbindir} RUBY_SUFFIX=
|
||||
|
||||
# Clean unnecessary cache to make the build deterministic (bsc#1230275)
|
||||
rm -rf ./hawk/tmp/cache/assets/sprockets
|
||||
find ./hawk -name "*_make.out" -delete
|
||||
find ./hawk -name "*.log" -delete
|
||||
find ./hawk/locale \( -name "*.po" -o -name "*.pot" \) -exec sed -i 's/^"POT-Creation-Date:.*"/"POT-Creation-Date: 2025-09-01 00:00+0000\\n"/' {} +
|
||||
find ./hawk/locale \( -name "*.po" -o -name "*.pot" \) -exec sed -i 's/^"PO-Revision-Date:.*"/"PO-Revision-Date: 2025-09-01 00:00+0000\\n"/' {} +
|
||||
find ./hawk/public -name "manifest.json" -exec sed -i 's/"mtime":"[^"]*"/"mtime":"2025-09-01T00:00:00+00:00"/g' {} +
|
||||
rm ./hawk/tmp/session_secret # if there is no session_secret, it's automatically generated when starting puma
|
||||
|
||||
%install
|
||||
|
||||
install -p -d -m 755 %{buildroot}%{install_gem_path}
|
||||
|
||||
BIN
i18n-1.14.7.gem
BIN
i18n-1.14.7.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
irb-1.15.1.gem
BIN
irb-1.15.1.gem
Binary file not shown.
Binary file not shown.
BIN
json-2.10.2.gem
BIN
json-2.10.2.gem
Binary file not shown.
Binary file not shown.
BIN
locale-2.1.4.gem
BIN
locale-2.1.4.gem
Binary file not shown.
BIN
logger-1.7.0.gem
BIN
logger-1.7.0.gem
Binary file not shown.
Binary file not shown.
BIN
mail-2.8.1.gem
BIN
mail-2.8.1.gem
Binary file not shown.
BIN
marcel-1.0.4.gem
BIN
marcel-1.0.4.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
nio4r-2.7.4.gem
BIN
nio4r-2.7.4.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
pp-0.6.2.gem
BIN
pp-0.6.2.gem
Binary file not shown.
Binary file not shown.
BIN
prime-0.1.3.gem
BIN
prime-0.1.3.gem
Binary file not shown.
BIN
psych-5.2.3.gem
BIN
psych-5.2.3.gem
Binary file not shown.
BIN
puma-6.6.0.gem
BIN
puma-6.6.0.gem
Binary file not shown.
BIN
racc-1.8.1.gem
BIN
racc-1.8.1.gem
Binary file not shown.
BIN
rack-3.1.16.gem
LFS
BIN
rack-3.1.16.gem
LFS
Binary file not shown.
BIN
rack-3.1.18.gem
Normal file
BIN
rack-3.1.18.gem
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
rackup-2.2.1.gem
BIN
rackup-2.2.1.gem
Binary file not shown.
BIN
rails-8.0.2.1.gem
Normal file
BIN
rails-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
rails-8.0.2.gem
LFS
BIN
rails-8.0.2.gem
LFS
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
railties-8.0.2.1.gem
Normal file
BIN
railties-8.0.2.1.gem
Normal file
Binary file not shown.
BIN
railties-8.0.2.gem
LFS
BIN
railties-8.0.2.gem
LFS
Binary file not shown.
BIN
rake-13.2.1.gem
BIN
rake-13.2.1.gem
Binary file not shown.
BIN
rdoc-6.13.1.gem
BIN
rdoc-6.13.1.gem
Binary file not shown.
BIN
reline-0.6.0.gem
BIN
reline-0.6.0.gem
Binary file not shown.
BIN
rexml-3.4.1.gem
BIN
rexml-3.4.1.gem
Binary file not shown.
Binary file not shown.
BIN
sassc-2.4.0.gem
BIN
sassc-2.4.0.gem
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user