update files and install for third-party licenses

This commit is contained in:
Willow C Reed
2026-06-24 05:57:18 -06:00
parent fab856f080
commit e0691b7e11
2 changed files with 10 additions and 1 deletions
@@ -54,10 +54,19 @@ It lets you pick a user, enter your password, choose a Wayland session, and pick
%install
%meson_install
install -d %{buildroot}%{_licensedir}/%{name}/third_party
find third_party -type f \( -name "LICENSE*" -o -name "COPYING*" -o -name "NOTICE*" \) | while read -r file; do
# Create the destination subdirectory
dest_dir="%{buildroot}%{_licensedir}/%{name}/$(dirname "$file")"
install -d "$dest_dir"
# Copy the file to its specific subfolder
install -p -m 0644 "$file" "$dest_dir/"
done
%files
%doc README.md
%license LICENSE
%{_licensedir}/%{name}/third_party/
%{_bindir}/%{name}
%{_bindir}/%{name}-apply-appearance
%{_bindir}/%{name}-compositor
+1 -1
View File
@@ -1,4 +1,4 @@
rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-greeter/commits/main").json().sha);
rpm.global("commit", gh_commit("noctalia-dev/noctalia-greeter"));
if rpm.changed() {
rpm.global("ver", gh("noctalia-dev/noctalia-greeter"));
rpm.global("commit_date", date());