Hey folks,

I recently did a large re-write of a specfile in order to provide a
Python 3 version and to make it easier to maintain.

Prior to this re-write the specfile produced a number of subpackages
that each provided a service file (fedmsg-hub, fedmsg-relay, ...). In
my re-write I had the python2-fedmsg sub-package provide all these
packages. There weren't any systemd scriptlets, either, so I added
those.

The problem is that now when you upgrade, the service is disabled even
if you have it enabled before the upgrade. I believe this is happening
because now the python2-fedmsg package provides the unit file and the
installation scriptlet calls "systemctl --no-reload preset" due it being
an initial install (since it's a new subpackage that is a merge of the
old subpackages).

Has anyone run into this problem before? What are my options for fixing
this?

The original specfile

https://src.fedoraproject.org/rpms/fedmsg/blob/ceae21bababb90802c22461846d30653a2d98bc1/f/fedmsg.spec

The new specfile

https://src.fedoraproject.org/rpms/fedmsg/blob/7b1c384562e7664d2b912b9f2eebd336b4658480/f/fedmsg.spec

Thanks!


-- 
Jeremy Cline
XMPP: jer...@jcline.org
IRC:  jcline

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to