[X2Go-Commits] [cups-x2go] 01/01: cups-x2go.spec: also own %{_prefix}/lib for SLES < 12, as previous versions ship the arch-dependent %{_libdir}/cups only.

git-admin at x2go.org git-admin at x2go.org
Wed Feb 11 16:07:41 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 6d9bf629c8df6c43ba1d9bbfe72432948a664288
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Feb 11 16:07:23 2015 +0100

    cups-x2go.spec: also own %{_prefix}/lib for SLES < 12, as previous versions ship the arch-dependent %{_libdir}/cups only.
---
 cups-x2go.spec   |    7 +++++++
 debian/changelog |    2 ++
 2 files changed, 9 insertions(+)

diff --git a/cups-x2go.spec b/cups-x2go.spec
index f013ddf..4919926 100644
--- a/cups-x2go.spec
+++ b/cups-x2go.spec
@@ -80,6 +80,13 @@ install -pm0644 VERSION.cups-x2go "$c/";
 %files
 %defattr(-,root,root)
 %doc debian/changelog debian/copyright COPYING README.txt
+
+# SLES < 12 only has an arch-dependent CUPS tree in %%{_libdir}.
+# We need to own %%{_prefix}/lib here.
+%if 0%{?suse_version} < 1200
+%{_prefix}/lib/cups
+%endif
+
 #
 # 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:
diff --git a/debian/changelog b/debian/changelog
index 65a753c..116d0f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ cups-x2go (3.0.1.2-0x2go1) UNRELEASED; urgency=low
       versions.
     + Revert previous change. Own %{_datadir}/ppd/ for all SUSE releases for
       the time being.
+    + Also own %{_prefix}/lib for SLES < 12, as previous versions ship the
+      arch-dependent %{_libdir}/cups only.
 
  -- 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