[X2Go-Commits] [cups-x2go] 03/06: cups-x2go.spec: wrap macros in curly braces where appropriate.

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 250ea690f3cfb645df610cd979edfa9387fc6c79
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Feb 11 03:57:30 2015 +0100

    cups-x2go.spec: wrap macros in curly braces where appropriate.
---
 cups-x2go.spec   |   12 ++++++------
 debian/changelog |    1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/cups-x2go.spec b/cups-x2go.spec
index 9fbd555..d3da61e 100644
--- a/cups-x2go.spec
+++ b/cups-x2go.spec
@@ -47,13 +47,13 @@ b="%buildroot";
 c="$b/%{_prefix}/lib/cups/backend";
 mkdir -p "$c";
 install -pm0755 cups-x2go "$c/";
-c="$b/%_datadir/ppd/cups-x2go";
+c="$b/%{_datadir}/ppd/cups-x2go";
 mkdir -p "$c";
 install -pm0644 CUPS-X2GO.ppd "$c/";
-c="$b/%_sysconfdir/cups";
+c="$b/%{_sysconfdir}/cups";
 mkdir -p "$c";
 install -pm0644 cups-x2go.conf "$c/";
-c="$b/%_datadir/x2go/versions";
+c="$b/%{_datadir}/x2go/versions";
 mkdir -p "$c";
 install -pm0644 VERSION.cups-x2go "$c/";
 
@@ -70,9 +70,9 @@ install -pm0644 VERSION.cups-x2go "$c/";
 # typically "lp".”
 #
 %attr(0700,root,root) %{_prefix}/lib/cups/backend/cups-x2go
-%_datadir/ppd
-%config(noreplace) %_sysconfdir/cups/cups-x2go.conf
-%_datadir/x2go
+%{_datadir}/ppd
+%config(noreplace) %{_sysconfdir}/cups/cups-x2go.conf
+%{_datadir}/x2go
 
 
 %changelog
diff --git a/debian/changelog b/debian/changelog
index eed9e16..a36ab85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ cups-x2go (3.0.1.2-0x2go1) UNRELEASED; urgency=low
       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.
+    + Wrap macros in curly braces where appropriate.
 
  -- 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