[X2Go-Commits] [x2goserver] 01/05: x2goserver.spec: escape percent signs in comments, getting rid of warnings in obs-build's spec file parser.
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 27 22:04:48 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit bd0c65b3e5d10f02881a1123852d625455208620
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Feb 27 21:15:19 2023 +0100
x2goserver.spec: escape percent signs in comments, getting rid of warnings in obs-build's spec file parser.
---
debian/changelog | 2 ++
x2goserver.spec | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c3bc0f7e..21af52b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -416,6 +416,8 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
might be something like '2'.
- x2goserver/bin/x2goresume-session: fix clipboard handling. The
"${clipboard}" variable already includes the "clipboard" key.
+ - x2goserver.spec: escape percent signs in comments, getting rid of
+ warnings in obs-build's spec file parser.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
+ Pull in base64 as a run-time dependency. We'll need it in scripts.
diff --git a/x2goserver.spec b/x2goserver.spec
index 57cc91c0..09374814 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -904,10 +904,11 @@ fi
%if ( ! 0%{?suse_version} ) || 0%{?suse_version} >= 1210
%config(noreplace) %{_sysconfdir}/sudoers.d/x2goserver
%endif
+### Make sure to unescape the percent signs if you really intend to use that!
### polkit (<= 0.105)
-#%config(noreplace) %{_sysconfdir}/polkit-1/localauthority/10-vendor.d/x2goserver-no-colord.pkla
+#%%config(noreplace) %%{_sysconfdir}/polkit-1/localauthority/10-vendor.d/x2goserver-no-colord.pkla
## polkit (>= 0.106)
-#%config(noreplace) %{_sysconfdir}/polkit-1/rules.d/x2goserver-no-colord.rules
+#%%config(noreplace) %%{_sysconfdir}/polkit-1/rules.d/x2goserver-no-colord.rules
%{_bindir}/x2go*
%exclude %{_bindir}/x2goserver-run-extensions
%exclude %{_bindir}/x2gofm
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list