From 25eebd35abcc6cbe83e1be30ab24841cf261f85f80019a29b3ee61d234adfcf4 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 31 Jul 2024 13:02:34 +0000 Subject: [PATCH] - 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 --- cockpit-machines-316.tar.gz | 3 +++ cockpit-machines-316.tar.xz | 3 --- cockpit-machines.changes | 1 + cockpit-machines.spec | 6 ++---- 4 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 cockpit-machines-316.tar.gz delete mode 100644 cockpit-machines-316.tar.xz diff --git a/cockpit-machines-316.tar.gz b/cockpit-machines-316.tar.gz new file mode 100644 index 0000000..90612fb --- /dev/null +++ b/cockpit-machines-316.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1f6a079985bbc4618fa8c85a777f0f3803da01f0cc23c3d30d425806c9ae284 +size 724555 diff --git a/cockpit-machines-316.tar.xz b/cockpit-machines-316.tar.xz deleted file mode 100644 index aa63f29..0000000 --- a/cockpit-machines-316.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a6b42ebdfe1e5f05a90b2544c53f3b50150e08ff4c9d2d44afb7caf8251f275 -size 1885968 diff --git a/cockpit-machines.changes b/cockpit-machines.changes index f6ba3ca..a27631b 100644 --- a/cockpit-machines.changes +++ b/cockpit-machines.changes @@ -4,6 +4,7 @@ Wed Jul 31 12:39:14 UTC 2024 - Adam Majer - 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 diff --git a/cockpit-machines.spec b/cockpit-machines.spec index aee3b94..11cd1b3 100644 --- a/cockpit-machines.spec +++ b/cockpit-machines.spec @@ -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