From mike.gabriel@das-netzwerkteam.de Thu Dec 11 10:57:13 2014 Received: (at 698) by bugs.x2go.org; 11 Dec 2014 09:57:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 6EFD65DEA7 for <698@bugs.x2go.org>; Thu, 11 Dec 2014 10:57:13 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id DD9381484; Thu, 11 Dec 2014 10:57:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id C0BE03BB92; Thu, 11 Dec 2014 10:57:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IKyOdHcSkU7z; Thu, 11 Dec 2014 10:57:12 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 7BA153BB6E; Thu, 11 Dec 2014 10:57:12 +0100 (CET) Received: from 134.245.44.4 ([134.245.44.4]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 11 Dec 2014 09:57:12 +0000 Date: Thu, 11 Dec 2014 09:57:12 +0000 Message-ID: <20141211095712.Horde.5_5wqmCocjbygjc48y97-g1@mail.das-netzwerkteam.de> From: Mike Gabriel To: Jasmin =?utf-8?b?TMOpdmVzcXVl?= , 698@bugs.x2go.org Cc: Orion Poplawski Subject: Re: [X2Go-Dev] Bug#698: RPM spec file with non-existant macro on CentOS 7 In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 134.245.44.4 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Iceweasel/32.0 Content-Type: multipart/signed; boundary="=_nqBC2pfL4uQSt8LlOE2JJA1"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_nqBC2pfL4uQSt8LlOE2JJA1 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: tag -1 rpm-packages Hi Jasmin, hi Orion (our Fedora+X2Go guru), On Do 11 Dez 2014 01:23:14 CET, Jasmin L=C3=A9vesque wrote: > Package: x2goserver > Version: 4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64 > > When installing the nightly build or a rebuilt package, I encounter the > following error: > /var/tmp/rpm-tmp.e1X31q: line 1: fg: no job control > error: > %pre(x2goserver-4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86= _64) > scriptlet failed, exit status 1 > Error in PREIN scriptlet in rpm package > x2goserver-4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64 > > The package fails to installs. > > When digging for the PREIN scriplet, I find the only %pre in the x2goserv= er > is this line: > 485: %systemd_pre x2goserver.service > > These are the built-in macros related to systemd on a fresh CentOS 7 > install: > > [root@centos7 SPECS]# rpmbuild --showrc | grep systemd_ > -14: systemd_post > -14: systemd_postun > -14: systemd_postun_with_restart > -14: systemd_preun > -14: systemd_requires > > It seems the %systemd_pre macro is not available. > > When commenting the line out, the package builds and installs successfull= y. I think I took that from the original Fedora packages provided by=20=20 Orion.=20Is the systemd_pre macro available on Fedora, but on in EPEL-7? Or is that macro actually non-existent on all Fedora and derivative version= s? Thanks for feedback! Mike --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= fb --=_nqBC2pfL4uQSt8LlOE2JJA1 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJUiWp4AAoJEJr0azAldxsxzr8P/R+YEK1y9VcqsQMTbalSyz/U v0qfVeHKp0HZckwCzb/2HfnVB6r9vs1wCNX+m/usTvQdF2r0/b3m+oECm8R3/YzC Ma53OBWRpmXdrBLvABi2XeX89MIO8cjk6MTDMPigKn2V2CfuoMs2C1ll1T1RP0uJ aLBkcrDaJh2Nvf1CpwAJNyUc3HP1b4Fe05Ar0ohpzRd17H9ER/ff9q+OwTp7yDGM YTe8mgmXQ/nrBDowi6+/Kgd3nAwPPY/quDPXzciqc0RoUBPbhK7oWwhtHLFtoKpl BlyEHkUejBaIu8sb8Af/8ow8jV40u8DKRApo4Ct9q1LWFYgqIbHfvv3MiWpJuQu2 T9JigJkVuxIff8O+O7q1r0vgrYIzgmGwv82eis1hBX0OYjNN1pu2QEvnycZgou3b 20m62VKaupUbjAWVmuqjhjs1HD14L5oo6j9wulAfx0LX131T9MMHQX2ZfceInd3c blcdaIvlwl5VWhOt3wWVS8Hq39Tba74CtS2ovQxFkZdWnYtl1PYi0Op7LV3LSDQd drAV1thGryRUPeFSs4+AebAmjDXwevMu2Z74GBTw1VwY+l/Kv+1wy34lX6uPT1wG PYEsssT4vi7Jm+LWmJvgwIW/grlbtwzrRPfRwZqK4xuHe7symLUEPQnFxe44gKiE 4ysnuNa/lHExBjCTR88C =HQjc -----END PGP SIGNATURE----- --=_nqBC2pfL4uQSt8LlOE2JJA1--