[X2Go-Commits] [x2goserver] 01/01: x2goserver.spec: there is no %trans scriptlet, we're using %posttrans, so the dependency should be specified as Requires(posttrans) as well.

git-admin at x2go.org git-admin at x2go.org
Tue Mar 7 07:24:18 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch release/4.0.1.x
in repository x2goserver.

commit fb3c8ad9cd3f723d53dd15af021453846430b593
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Mar 7 07:23:59 2017 +0100

    x2goserver.spec: there is no %trans scriptlet, we're using %posttrans, so the dependency should be specified as Requires(posttrans) as well.
---
 debian/changelog | 2 ++
 x2goserver.spec  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c0ea0cd..70c18e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -50,6 +50,8 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
       RHEL-based distros.
     - RPM spec does not allow %elif or %elseif, which lead to all weird kinds
       of errors. Split these up into nested conditions.
+    - There is no %trans scriptlet, we're using %posttrans, so the dependency
+      should be specified as Requires(posttrans) as well.
   * debian/po:
     - Tiny fixup on author name.
   * debian/control:
diff --git a/x2goserver.spec b/x2goserver.spec
index 2ac2bf9..b800a25 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -326,7 +326,7 @@ Requires:       xdg-utils
 Requires(post):   desktop-file-utils
 Requires(postun): desktop-file-utils
 %if ( 0%{?fedora} && 0%{?fedora} < 24 ) || ( 0%{?rhel} && 0%{?rhel} < 8 )
-Requires(trans):  shared-mime-info
+Requires(posttrans):  shared-mime-info
 %endif
 %endif
 %if 0%{?fedora} || 0%{?rhel}

--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list