Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 99576155be | |||
|
|
962e58970e | ||
| 8d6d2d683c | |||
|
|
655a16249b | ||
| 29b68142bd | |||
|
|
11a3f558a2 | ||
| 41b7236116 | |||
|
|
371b300797 | ||
| 264bece1f2 | |||
|
|
123d884c05 |
3
actioncable-8.0.2.1.gem
Normal file
3
actioncable-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f1cb20db39fba28a93569e8d5dab42b2749d7ddd4baebb5bbecd4217e49d6a2
|
||||
size 47104
|
||||
BIN
actioncable-8.0.2.gem
LFS
BIN
actioncable-8.0.2.gem
LFS
Binary file not shown.
3
actionmailbox-8.0.2.1.gem
Normal file
3
actionmailbox-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ea8c6e31e448961c06fc1d6282775b32aff1c009f232d4564e07e54850a6cad
|
||||
size 22016
|
||||
BIN
actionmailbox-8.0.2.gem
LFS
BIN
actionmailbox-8.0.2.gem
LFS
Binary file not shown.
3
actionmailer-8.0.2.1.gem
Normal file
3
actionmailer-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0de14d8d04541eab130858cb2f0697266be42de1afe1104bc43d7998137ddb9c
|
||||
size 32256
|
||||
BIN
actionmailer-8.0.2.gem
LFS
BIN
actionmailer-8.0.2.gem
LFS
Binary file not shown.
3
actionpack-8.0.2.1.gem
Normal file
3
actionpack-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61e7e11a31dbe5152ca57221788bdca42ef302c4cc53b4c8993d68dce8982b0a
|
||||
size 248832
|
||||
BIN
actionpack-8.0.2.gem
LFS
BIN
actionpack-8.0.2.gem
LFS
Binary file not shown.
3
actiontext-8.0.2.1.gem
Normal file
3
actiontext-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0cc4b3b5cfb9d915c6697b05b013dad7f4eaf074d9989700b6a0a55cf620d6b8
|
||||
size 141824
|
||||
BIN
actiontext-8.0.2.gem
LFS
BIN
actiontext-8.0.2.gem
LFS
Binary file not shown.
3
actionview-8.0.2.1.gem
Normal file
3
actionview-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ea6d20ccb0b7b84a221a940ac06853ce99235e4ecb4947815839c7c5ecbf347
|
||||
size 188416
|
||||
BIN
actionview-8.0.2.gem
LFS
BIN
actionview-8.0.2.gem
LFS
Binary file not shown.
3
activejob-8.0.2.1.gem
Normal file
3
activejob-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6e5f2da07ec8efac13a38af1752416770dc74e95783f7b252506d707aa32b89
|
||||
size 35840
|
||||
BIN
activejob-8.0.2.gem
LFS
BIN
activejob-8.0.2.gem
LFS
Binary file not shown.
3
activemodel-8.0.2.1.gem
Normal file
3
activemodel-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17bab6cdb86531844113df22f864480a89a276bf0318246e628f99e0ac077ec4
|
||||
size 69120
|
||||
BIN
activemodel-8.0.2.gem
LFS
BIN
activemodel-8.0.2.gem
LFS
Binary file not shown.
3
activerecord-8.0.2.1.gem
Normal file
3
activerecord-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a6556e7bdd53f3889d18d2aa3a7ff115fd6c5e1463dd06f97fb88d06b58c6df1
|
||||
size 545280
|
||||
BIN
activerecord-8.0.2.gem
LFS
BIN
activerecord-8.0.2.gem
LFS
Binary file not shown.
3
activestorage-8.0.2.1.gem
Normal file
3
activestorage-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43bb3d9e115471e201e6a66813810c1d15b607a321f29d62efdf9d90ffaf76f8
|
||||
size 65536
|
||||
BIN
activestorage-8.0.2.gem
LFS
BIN
activestorage-8.0.2.gem
LFS
Binary file not shown.
3
activesupport-8.0.2.1.gem
Normal file
3
activesupport-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0405a76fd1ca989975d9ae00d46a4d3979bdf3817482d846b63affa84bd561c6
|
||||
size 251392
|
||||
BIN
activesupport-8.0.2.gem
LFS
BIN
activesupport-8.0.2.gem
LFS
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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
rack-3.1.16.gem
LFS
BIN
rack-3.1.16.gem
LFS
Binary file not shown.
3
rack-3.1.18.gem
Normal file
3
rack-3.1.18.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:669d707f768ef7b953c4495a1db5e776607f7f9c9a8bb32d42ccccc14d098444
|
||||
size 115200
|
||||
3
rails-8.0.2.1.gem
Normal file
3
rails-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:13ab95615569e74e364384b346b1d83e4795dbde83d9edf584e8768e8049b3ac
|
||||
size 7168
|
||||
BIN
rails-8.0.2.gem
LFS
BIN
rails-8.0.2.gem
LFS
Binary file not shown.
3
railties-8.0.2.1.gem
Normal file
3
railties-8.0.2.1.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54e40e1771fc2878f572d5a4e076cddb057ba8d4d471f8b7d9bfc61bc1301d4c
|
||||
size 197632
|
||||
BIN
railties-8.0.2.gem
LFS
BIN
railties-8.0.2.gem
LFS
Binary file not shown.
BIN
uri-1.0.3.gem
LFS
BIN
uri-1.0.3.gem
LFS
Binary file not shown.
3
uri-1.0.4.gem
Normal file
3
uri-1.0.4.gem
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34485d137c079f8753a0ca1d883841a7ba2e5fae556e3c30c2aab0dde616344b
|
||||
size 37376
|
||||
Reference in New Issue
Block a user