move %systemd_post{,un} to the correct subpackage
... to avoid the following scriptlet failures: Upgrading : libnghttp2-1.20.0-1.fc24.x86_64 /sbin/ldconfig: relative path `2' used to build cache warning: %post(libnghttp2-1.20.0-1.fc24.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package libnghttp2 Non-fatal POSTIN scriptlet failure in rpm package libnghttp2 Upgrading : nghttp2-1.20.0-1.fc24.x86_64
This commit is contained in:
parent
6d58228578
commit
3733e4c676
@ -76,9 +76,13 @@ rm -f "$RPM_BUILD_ROOT%{_libdir}/libnghttp2.la"
|
||||
rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst"
|
||||
|
||||
%post -n libnghttp2 -p /sbin/ldconfig
|
||||
%systemd_post nghttpx.service
|
||||
|
||||
%postun -n libnghttp2 -p /sbin/ldconfig
|
||||
|
||||
%post
|
||||
%systemd_post nghttpx.service
|
||||
|
||||
%postun
|
||||
%systemd_postun nghttpx.service
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user