[X2Go-Commits] [cups-x2go] 02/06: cups-x2go.spec: change %{_libexecdir} to /lib as the standard install location for CUPS backends on Fedora, RHEL, (Open)SUSE and EPEL.
git-admin at x2go.org
git-admin at x2go.org
Wed Feb 11 04:15:31 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository cups-x2go.
commit 12a42d5d71db9bb1e33d3654acb596193a07ea97
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Feb 11 03:55:54 2015 +0100
cups-x2go.spec: change %{_libexecdir} to /lib as the standard install location for CUPS backends on Fedora, RHEL, (Open)SUSE and EPEL.
---
cups-x2go.spec | 8 ++++----
debian/changelog | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/cups-x2go.spec b/cups-x2go.spec
index 4bb9f30..9fbd555 100644
--- a/cups-x2go.spec
+++ b/cups-x2go.spec
@@ -44,7 +44,7 @@ CUPS backend for printing from X2Go.
%install
b="%buildroot";
-c="$b/%_libexecdir/cups/backend";
+c="$b/%{_prefix}/lib/cups/backend";
mkdir -p "$c";
install -pm0755 cups-x2go "$c/";
c="$b/%_datadir/ppd/cups-x2go";
@@ -60,8 +60,8 @@ install -pm0644 VERSION.cups-x2go "$c/";
%files
%defattr(-,root,root)
-%dir %_libexecdir/cups
-%dir %_libexecdir/cups/backend
+%dir %{_prefix}/lib/cups
+%dir %{_prefix}/lib/cups/backend
#
# The cups-x2go backends wants root permissions. So give it to them.
# http://www.cups.org/documentation.php/doc-1.4/man-backend.html says:
@@ -69,7 +69,7 @@ install -pm0644 VERSION.cups-x2go "$c/";
# Otherwise, the backend is run using the unprivileged user account,
# typically "lp".”
#
-%attr(0700,root,root) %_libexecdir/cups/backend/cups-x2go
+%attr(0700,root,root) %{_prefix}/lib/cups/backend/cups-x2go
%_datadir/ppd
%config(noreplace) %_sysconfdir/cups/cups-x2go.conf
%_datadir/x2go
diff --git a/debian/changelog b/debian/changelog
index 6635e10..eed9e16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ cups-x2go (3.0.1.2-0x2go1) UNRELEASED; urgency=low
* cups-x2go.spec:
+ Depend on openssh-clients on Fedora, RHEL, EPEL and CentOS instead of
pulling in the complete openssh suite.
+ + Change %{_libexecdir} to ${_prefix}/lib as the standard install location
+ for CUPS backends on Fedora, RHEL, (Open)SUSE and EPEL.
-- X2Go Release Manager <git-admin at x2go.org> Tue, 10 Feb 2015 21:08:34 +0100
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/cups-x2go.git
More information about the x2go-commits
mailing list