[X2Go-Commits] [x2godesktopsharing] 01/01: x2godesktopsharing.spec: completely rename to x2goserver-desktopsharing, drop name overrides.
git-admin at x2go.org
git-admin at x2go.org
Wed Nov 14 04:18:13 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2godesktopsharing.
commit 7e0b185551736c867b598f492ef520fe1fc52c38
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Nov 14 04:17:55 2018 +0100
x2godesktopsharing.spec: completely rename to x2goserver-desktopsharing, drop name overrides.
---
debian/changelog | 1 +
x2godesktopsharing.spec | 21 +++++++--------------
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1cb159b..bca62a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ x2godesktopsharing (3.2.0.0-0x2go1) UNRELEASED; urgency=medium
+ Remove package names from %prep, %build and %install macros.
+ Fix typo in %pre scriptlet package name.
+ Really fix the typo.
+ + Completely rename to x2goserver-desktopsharing, drop name overrides.
[ Mike Gabriel ]
* New upstream version (3.1.1.5):
diff --git a/x2godesktopsharing.spec b/x2godesktopsharing.spec
index 67d0dd9..dadcea7 100644
--- a/x2godesktopsharing.spec
+++ b/x2godesktopsharing.spec
@@ -1,4 +1,4 @@
-Name: x2godesktopsharing
+Name: x2goserver-desktopsharing
Version: 3.2.0.0
Release: 0.0x2go1%{?dist}
Summary: Share X11 desktops with other users via X2Go
@@ -76,17 +76,10 @@ Requires: procps-ng
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%package -n x2goserver-desktopsharing
-Summary: Share X11 desktops with other users via X2Go
-%if 0%{?suse_version}
-Group: Production/Networking/Remote Desktop
-%else
-Group: Applications/Communications
-%endif
Obsoletes: x2godesktopsharing
Provides: x2godesktopsharing = %{version}-%{release}
-%description -n x2goserver-desktopsharing
+%description
X2Go is a server based computing environment with
- session resuming
- low bandwidth support
@@ -134,24 +127,24 @@ cp -rp man %{buildroot}%{_datadir}/
%endif
-%pre -n x2goserver-desktopsharing
+%pre
# Needed for sharing a desktop with another user
getent group x2godesktopsharing >/dev/null || groupadd -r x2godesktopsharing
-%post -n x2goserver-desktopsharing
+%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-%postun -n x2goserver-desktopsharing
+%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-%posttrans -n x2goserver-desktopsharing
+%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%files -n x2goserver-desktopsharing
+%files
%defattr(-,root,root)
%doc debian/changelog
%doc debian/copyright
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2godesktopsharing.git
More information about the x2go-commits
mailing list