mirror of
https://github.com/terrapkg/packages.git
synced 2026-07-02 17:00:54 +00:00
fix: bad update scripts again
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
|
||||
Name: astra
|
||||
%electronmeta -D
|
||||
Version: %(echo %ver | sed 's/-/~/')
|
||||
Version: %(echo %ver | sed 's/-/~/;s/^v//')
|
||||
Release: 1%?dist
|
||||
Summary: A desktop music player for people who still have a music library
|
||||
License: GPL-3.0-only AND %electron_license
|
||||
URL: https://astramusic.dev
|
||||
Source0: https://github.com/Boof2015/astra/archive/refs/tags/v%ver.tar.gz
|
||||
Source0: https://github.com/Boof2015/astra/archive/refs/tags/%ver.tar.gz
|
||||
BuildRequires: nodejs-npm nodejs-packaging
|
||||
|
||||
%description
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: bup
|
||||
Version: bup.0.25.rc2
|
||||
Version: 0.33.10
|
||||
Release: 1%{?dist}
|
||||
Summary: Efficient backup system based on the git packfile format
|
||||
License: LGPL-2.0-only
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
rpm.version(gh_tag("bup/bup"));
|
||||
let v = gh_tag("bup/bup");
|
||||
v.crop(4);
|
||||
rpm.version(v);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global commit_date 20260702
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global ver v1.0
|
||||
%global ver 1.0
|
||||
|
||||
Name: miraclecast
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
rpm.global("ver", gh_tag("albfan/miraclecast"));
|
||||
let ver = gh_tag("albfan/miraclecast");
|
||||
ver.crop(1);
|
||||
rpm.global("ver", ver);
|
||||
|
||||
rpm.global("commit", gh_commit("albfan/miraclecast"));
|
||||
if rpm.changed() {
|
||||
|
||||
Reference in New Issue
Block a user