Accepting request 983985 from systemsmanagement:cockpit

update changes file to match Factory requirements (forwarded request 983984 from jtomasiak)

OBS-URL: https://build.opensuse.org/request/show/983985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit-tukit?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-06-21 14:32:05 +00:00 committed by Git OBS Bridge
commit a85fc2a116
7 changed files with 43 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/cockpit-tukit.git</param>
<param name="changesrevision">03c747e0bcd4cee8e9e5123f08b566bc758eb4f6</param></service></servicedata>
<param name="changesrevision">d8579a3926b7d912f38b0350e1835a06a76735bb</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ba06e77adabff782adefa3610b8987512e615d8f7659ac00db831d358aaf023
size 321900

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:956d13e00bcf0b947b2704e6236208916e662b969c02d03438ca0385fae81350
size 312788

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jun 20 11:06:02 UTC 2022 - jtomasiak@suse.com
- Update to version 0.0.3~git10.d8579a3:
* Update to cockpit 271
* Add translation template
* Update translations
* Add load-css-overrides.patch to start loading a custom CSS file
-------------------------------------------------------------------
Thu May 19 13:11:27 UTC 2022 - jan.suse@zerebecki.de

View File

@ -17,7 +17,7 @@
Name: cockpit-tukit
Version: 0.0.3~git6.03c747e
Version: 0.0.3~git10.d8579a3
Release: 0%{?dist}
Summary: Cockpit module for Transactional Update
License: LGPL-2.1-or-later
@ -28,6 +28,7 @@ Source10: package-lock.json
Source11: node_modules.spec.inc
Source12: node_modules.sums
%include %_sourcedir/node_modules.spec.inc
Patch0: load-css-overrides.patch
BuildArch: noarch
BuildRequires: appstream-glib
BuildRequires: cockpit-devel >= 251
@ -46,6 +47,7 @@ Cockpit module for Transactional Update
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
rm -f package-lock.json
local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)

26
load-css-overrides.patch Normal file
View File

@ -0,0 +1,26 @@
From d90c39d8f652fa83081f3644d5375fba70c459ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= <dgonzalez@suse.de>
Date: Mon, 13 Jun 2022 23:05:11 +0100
Subject: [PATCH] Start loading a custom CSS file
For changing the Cockpit appearance using the CSS overrides workaround
described at https://github.com/cockpit-project/cockpit/pull/17437
---
src/index.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/index.html b/src/index.html
index a9f1fe6..9e8bd22 100644
--- a/src/index.html
+++ b/src/index.html
@@ -23,6 +23,7 @@ along with this package; If not, see <http://www.gnu.org/licenses/>.
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="index.css">
+ <link href="../../static/css-overrides.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="../base1/cockpit.js"></script>
<script type="text/javascript" src="po.js"></script>
--
2.36.1

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef76714b828fee0b9aa62d424daca1955384494b32b63948c1c4deb9ece6fb77
oid sha256:81dcd872d4b9b92857f6c804ac344fd38a68f82b4f175fc5ede6452f4ac73f15
size 37332592