[X2Go-Commits] x2goserver.git - master (branch) updated: 3.1.1.3-270-g9785235

X2Go dev team git-admin at x2go.org
Sun Dec 8 15:31:24 CET 2013


The branch, master has been updated
       via  978523511302a62bef54dcc663f34efd48eef59d (commit)
      from  3a9761b6f341c70d091169adf69ec8d23e4f5853 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 978523511302a62bef54dcc663f34efd48eef59d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Dec 8 15:30:42 2013 +0100

    x2goserver.spec: fix Perl packages

-----------------------------------------------------------------------

Summary of changes:
 x2goserver.spec |   41 ++++++++++++++++++++++-------------------
 1 file changed, 22 insertions(+), 19 deletions(-)

The diff of changes is:
diff --git a/x2goserver.spec b/x2goserver.spec
index 42a39b2..baff699 100644
--- a/x2goserver.spec
+++ b/x2goserver.spec
@@ -63,7 +63,8 @@ administrations.
 
 
 %package common
-Summary: X2Go Server (common files)
+Summary:        X2Go Server (common files)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description common
 X2Go is a server based computing environment with
@@ -78,13 +79,14 @@ This package contains common files needed by the X2Go Server
 and the X2Go::Server Perl API.
 
 
-%package perl-X2Go-Server
+%package -n perl-X2Go-Server
 Summary:        Perl X2Go::Server package
 Requires:       x2goserver-common = %{version}-%{release}
 Requires:       perl-X2Go-Log = %{version}-%{release}
 Requires:       perl-X2Go-Server-DB = %{version}-%{release}
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-%description perl-X2Go-Server
+%description -n perl-X2Go-Server
 X2Go is a server based computing environment with
     - session resuming
     - low bandwidth support
@@ -96,14 +98,15 @@ X2Go is a server based computing environment with
 This package contains the X2Go::Server Perl package.
 
 
-%package perl-X2Go-Server-DB
+%package -n perl-X2Go-Server-DB
 Summary:        Perl X2Go::Server::DB package
 Requires:       x2goserver-common = %{version}-%{release}
 Requires:       perl-X2Go-Log = %{version}-%{release}
 Requires:       perl(DBD::SQLite)
 Requires:       perl(DBD::Pg)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-%description perl-X2Go-Server-DB
+%description -n perl-X2Go-Server-DB
 X2Go is a server based computing environment with
     - session resuming
     - low bandwidth support
@@ -115,11 +118,12 @@ X2Go is a server based computing environment with
 This package contains the X2Go::Server::DB Perl package.
 
 
-%package perl-X2Go-Log
+%package -n perl-X2Go-Log
 Summary:        Perl X2Go::Log package
 Requires:       x2goserver-common = %{version}-%{release}
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-%description perl-X2Go-Log
+%description -n perl-X2Go-Log
 X2Go is a server based computing environment with
     - session resuming
     - low bandwidth support
@@ -134,6 +138,7 @@ This package contains the X2Go::Log Perl package.
 %package printing
 Summary:        X2Go Server (printing support)
 Requires:       %{name} = %{version}-%{release}
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description printing
 X2Go is a server based computing environment with
@@ -280,7 +285,7 @@ getent passwd x2gouser >/dev/null || \
     -c "x2go" x2gouser
 exit 0
 
-%post perl-X2Go-Server-DB
+%post -n perl-X2Go-Server-DB
 # Initialize the session database
 [ ! -f %{_sharedstatedir}/x2go/x2go_sessions ] &&
   %{_sbindir}/x2godbadmin --createdb || :
@@ -359,27 +364,25 @@ exit 0
 %endif
 
 
-%files perl-X2Go-Log
-%{_libdir}/perl5/X2Go/Log.pm
+%files -n perl-X2Go-Log
+%{perl_vendorlib}/X2Go/Log.pm
 %{_mandir}/man3/X2Go::Log.*
 
 
-%files perl-X2Go-Server
-%dir %{_libdir}/perl5/X2Go
-%{_libdir}/perl5/X2Go/Config.pm
-%{_libdir}/perl5/X2Go/Server.pm
-%{_libdir}/perl5/X2Go/SupeReNicer.pm
-%{_libdir}/perl5/X2Go/Utils.pm
+%files -n perl-X2Go-Server
+%{perl_vendorlib}/X2Go/Config.pm
+%{perl_vendorlib}/X2Go/Server.pm
+%{perl_vendorlib}/X2Go/SupeReNicer.pm
+%{perl_vendorlib}/X2Go/Utils.pm
 %{_mandir}/man3/X2Go::Config.*
 %{_mandir}/man3/X2Go::Server.*
 %{_mandir}/man3/X2Go::SupeReNicer.*
 %{_mandir}/man3/X2Go::Utils.*
 
 
-%files perl-X2Go-Server-DB
-%dir %{_libdir}/perl5/X2Go/DB
+%files -n perl-X2Go-Server-DB
 %dir %{_libdir}/x2go
-%{_libdir}/perl5/X2Go/DB/*
+%{perl_vendorlib}/X2Go/DB/*
 %{_libdir}/x2go/libx2go-server-db-sqlite3-wrapper
 %{_libdir}/x2go/libx2go-server-db-sqlite3-wrapper.pl
 %{_mandir}/man3/X2Go::Server::DB.*


hooks/post-receive
-- 
x2goserver.git (X2Go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).




More information about the x2go-commits mailing list