Can smarter eyes look at my SPEC?

From: Steve Jenkins <stevejenkins_at_gmail.com>
Date: Fri, 22 Feb 2013 20:30:00 -0800

Literally everything I know about systemd I've learned today. No
exaggeration. And I'm a geek, not a developer, so sometimes this stuff
makes my eyes gloss over.

I've got a new version of the spec file in the works here:

https://github.com/stevejenkins/OpenDKIM-Fedora/blob/master/SPECS/opendkim.spec

It builds fine, but I'm having problems with the %post section on install.

# rpm -ivh opendkim-2.8.0-1.fc17.i686.rpm
Preparing... ###########################################
[100%]
   1:opendkim ###########################################
[100%]
/var/tmp/rpm-tmp.o0vI0g: line 2: fg: no job control
warning: %post(opendkim-2.8.0-1.fc17.i686) scriptlet failed, exit status 1

Similar problem on removal:

# rpm -e opendkim
/var/tmp/rpm-tmp.DfRLWV: line 6: fg: no job control
error: %preun(opendkim-2.8.0-1.fc17.i686) scriptlet failed, exit status 1
error: opendkim-2.8.0-1.fc17.i686: erase failed

which requires me to remove with --noscripts option.

Anyone with more than a day's worth of systemd familiarity willing to look
and see if they can spot something I'm missing?

Thx,

SteveJ
Received on Sat Feb 23 2013 - 04:30:13 PST

This archive was generated by hypermail 2.3.0 : Sat Feb 23 2013 - 04:36:01 PST