public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/highlight] rawhide: Update to 4.22 rhbz#2568006
@ 2026-11-06  4:39 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-06  4:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/highlight
Branch : rawhide
Commit : 941c98e6e92b7da373d203226b832648ac6b4108
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-05T23:47:28-03:00
Stats  : +11/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/highlight/c/941c98e6e92b7da373d203226b832648ac6b4108?branch=rawhide

Log:
Update to 4.22 rhbz#2568006

---
diff --git a/highlight.spec b/highlight.spec
index 158f49b..6617fae 100644
--- a/highlight.spec
+++ b/highlight.spec
@@ -1,5 +1,5 @@
 %global forgeurl https://gitlab.com/saalen/highlight
-Version:        4.21
+Version:        4.22
 %forgemeta
 
 Name:           highlight
@@ -73,9 +73,16 @@ cd ../..
 make install-gui DESTDIR=%{buildroot} PREFIX="%{_prefix}" conf_dir="%{_sysconfdir}/"
 %endif
 
-rm -rf %{buildroot}%{_docdir}/%{name}/
+mkdir -p %{buildroot}%{_licensedir}/%{name}
+mv %{buildroot}%{_docdir}/%{name}/COPYING %{buildroot}%{_licensedir}/%{name}/
 
 %check
+# Upstream test suite (src/ci_test.sh) requires network (git clone), so run a
+# basic smoke test of the built binary instead
+printf 'print(\"hello\")' > test.py
+%{buildroot}%{_bindir}/highlight --version
+grep -q 'hello' <(%{buildroot}%{_bindir}/highlight test.py)
+
 %if %{with qt}
 desktop-file-validate %{buildroot}%{_datadir}/applications/highlight.desktop
 %endif
@@ -90,7 +97,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/highlight.desktop
 %{_datadir}/zsh/site-functions/_highlight
 %config(noreplace) %{_sysconfdir}/highlight/
 
-%doc ChangeLog* AUTHORS README* extras/
+%doc ChangeLog* AUTHORS README* INSTALL extras/
 %license COPYING
 
 %if %{with qt}

diff --git a/sources b/sources
index 604794f..c1cbc30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (highlight-4.21.tar.bz2) = 94b72ec7cffecb7c4af24c92a5db797c102c0e11fc9c4fd0d80d13ede782b0521cb2f26d2824c0bd9cf458c87b62855a4b278e09c9b2c910fb0a152e92ad0965
+SHA512 (highlight-4.22.tar.bz2) = d30c95dfc44ba2696946ee42e232a1e79307d2feea43634994c1eb66d1594e270c6ec47b764b672d30d3bbb9eae2692a84bdd0156d81bd9c1fd9718e4d56d088

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-06  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06  4:39 [rpms/highlight] rawhide: Update to 4.22 rhbz#2568006 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox