1
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 bb0f5600c7
commit 5967fc5b01
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.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a6b42ebdfe1e5f05a90b2544c53f3b50150e08ff4c9d2d44afb7caf8251f275
size 1885968

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