2
0

- switch to source package instead of precombined upstream release

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-machines?expand=0&rev=40
This commit is contained in:
Adam Majer 2024-07-31 13:02:34 +00:00 committed by Git OBS Bridge
parent 01edf0172f
commit 25eebd35ab
4 changed files with 6 additions and 7 deletions

BIN
cockpit-machines-316.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
cockpit-machines-316.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -4,6 +4,7 @@ Wed Jul 31 12:39:14 UTC 2024 - Adam Majer <adam.majer@suse.de>
- update_version.sh: add script for auto-updates
- switch to upstream package-lock.json
- do not run scripts during npm install
- switch to source package instead of precombined upstream release
-------------------------------------------------------------------
Mon Jul 15 08:29:29 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>

View File

@ -24,7 +24,7 @@ License: LGPL-2.1-or-later AND MIT
URL: https://github.com/cockpit-project/cockpit-machines
# source_validator insists that if obscpio has no version then
# tarball must neither
Source: https://github.com/cockpit-project/cockpit-machines/releases/download/%{version}/cockpit-machines-%{version}.tar.xz
Source: https://github.com/cockpit-project/cockpit-machines/archive/refs/tags/%{version}.tar.gz#/cockpit-machines-%{version}.tar.gz
Source10: package-lock.json
Source11: node_modules.spec.inc
Source12: update_version.sh
@ -58,9 +58,7 @@ Cockpit component for managing virtual machines.
If "virt-install" is installed, you can also create new virtual machines.
%prep
%setup -q -n %{name}
%patch -P 10 -p1
%patch -P 11 -p1
%autosetup -p1
local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
%build