[X2Go-Dev] CUPS-X2Go (3.0.1.1) released

Orion Poplawski orion at cora.nwra.com
Wed Feb 11 00:30:45 CET 2015


On 02/10/2015 01:24 PM, Mihai Moldovan wrote:
> Dear all
> 
> The X2Go project is proud to announce a new release of the X2Go
> component ,,cups-x2go''.
> 
> New gains of this version of ,,cups-x2go'' are:
> 
>   o better RPM package support
> 
> 
> X2Go Component: cups-x2go
> Version: 3.0.1.1
> Status: RELEASE
> Date: Tue, 10 Feb 2015 20:03:16 +0100
> Changes:
>  cups-x2go (3.0.1.1) RELEASED; urgency=low
>  .
>    [ Mike Gabriel ]
>    * New upstream version (3.0.1.1):
>      - Rename LICENSE.txt to COPYING.
>    * cups-x2go.spec:
>      + Pull-in packaging stuff from Jan Engelhardt's .spec files
>        on
> https://build.opensuse.org/package/view_file/X11:RemoteDesktop:x2go.

>      + Make package arch-any, not noarch.

I don't understand the reason for this change, it seems clearly to be a noarch
package.

Also, FYI:
 - on Fedora ssh is in openssh-clients.
 - cups backends go in %{_prefix}/lib, not %_libexecdir
 - You install the cups-x2go with 755:

install -pm755 cups-x2go %{buildroot}%{_prefix}/lib/cups/backend/

then change it to 700 in %files:

%attr(0700,root,root) %_libexecdir/cups/backend/cups-x2go

Is there any reason for it to be 700?  I see other stuff in that directory is
a mix:

-rwxr-xr-x. 1 root root 149216 Sep 23 06:37 bluetooth
-rwx------. 1 root root  23648 Oct 22 03:30 dnssd

- I have no idea about non-Fedora/RHEL distros, but %defattr() is no longer
needed for any modern (RHEL5+) rpm systems.
- Alsi, in Fedora, you should not own directories own by other packages that
it requires.  I have:

%files
%doc ChangeLog COPYING README.txt
%{_prefix}/lib/cups/backend/cups-x2go
%config(noreplace) %{_sysconfdir}/cups/cups-x2go.conf
%{_datadir}/ppd/cups-x2go/
%{_datadir}/x2go/


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the x2go-dev mailing list