]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: drop trouble-making divider comments
authorNathan Cutler <ncutler@suse.com>
Tue, 9 Aug 2016 09:39:47 +0000 (11:39 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 23 Aug 2016 06:44:35 +0000 (08:44 +0200)
commit231b7bad338dbf03cb27a2579f8b141decc9bc55
tree423c255f166d75c3a9582c39c34b16744473654e
parent644650f59d900aa95e902da1fa6eaf0c88985fa3
ceph.spec.in: drop trouble-making divider comments

We have some %post scriptlets that fire up a shell just to execute a single
command like this:

%postun -n librados2
/sbin/ldconfig

Normally, it would be possible to optimize these as:

%postun -n librados2 -p /sbin/ldconfig

Except that, due to an RPM bug, there must not be *any* content (not even comments)
between the %postun and the next section.

See https://bugzilla.redhat.com/show_bug.cgi?id=1003962#c0 for details.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in