fix: noctalia-qs revision shows %{commit since %{commit} isn't defined (#10298)

* fix package obsoletes, add commit definition, fix spacing on prefix

* add changelog and fix conflicts

* actually don't wanna change noctalia-shell

* change update.rhai so commit auto updates!
This commit is contained in:
Willow Reed
2026-03-06 17:28:17 -07:00
committed by GitHub
parent 2e9fa36e46
commit dbb6d7b80d
2 changed files with 23 additions and 10 deletions
+16 -9
View File
@@ -1,12 +1,14 @@
Name: noctalia-qs
Version: 0.0.5
Release: 1%?dist
Summary: Flexible QtQuick based desktop shell toolkit
License: LGPL-3.0-only AND GPL-3.0-only
URL: https://github.com/noctalia-dev/noctalia-qs
Source0: https://github.com/noctalia-dev/noctalia-qs/archive/refs/tags/v%{version}.tar.gz
%global commit 1a02ba2ee11b1afa8ec9a94f8b6b652bf4f14e1d
Packager: Willow C Reed (willow@willowidk.dev)
Name: noctalia-qs
Version: 0.0.5
Release: 2%?dist
Summary: Flexible QtQuick based desktop shell toolkit
License: LGPL-3.0-only AND GPL-3.0-only
URL: https://github.com/noctalia-dev/noctalia-qs
Source0: https://github.com/noctalia-dev/noctalia-qs/archive/refs/tags/v%{version}.tar.gz
Packager: Willow C Reed (willow@willowidk.dev)
BuildRequires: cmake
BuildRequires: cmake(Qt6Core)
@@ -33,7 +35,8 @@ BuildRequires: pkgconfig(CLI11)
BuildRequires: glib2-devel
BuildRequires: polkit-devel
Obsoletes: quickshell
Conflicts: quickshell
Provides: quickshell
%description
Flexible QtQuick based desktop shell toolkit.
@@ -67,5 +70,9 @@ Flexible QtQuick based desktop shell toolkit.
%{_libdir}/qt6/qml/Quickshell
%changelog
* Thu Mar 05 2026 Willow C Reed <willow@willowidk.dev>
- Fix reision to actually be defined as a specific git commit since it never gets initialized rn
- Also fix that noctalia-qs is replacing quickshell overall and not just for noctlaia users
* Fri Feb 27 2026 Willow C Reed <willow@willowidk.dev>
- Initial commit based on quickshell spec
+7 -1
View File
@@ -1 +1,7 @@
rpm.version(gh("noctalia-dev/noctalia-qs"));
let release = get(`https://api.github.com/repos/noctalia-dev/noctalia-qs/tags`).json_arr()[0];
rpm.version(release.name);
if rpm.changed() {
rpm.global("commit", release.commit.sha);
}