[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:31:12 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 76c34756abca9b754b47e08533d5baefabd9db22
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.
Cherry-picked from release/4.0.1.x branch.
---
debian/changelog | 2 ++
x2goserver.spec | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 48fe8d5..a046860 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -289,6 +289,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 662652c..1dbf44f 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -468,7 +468,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