how to create rpm
RPM Spec 中各个字段的 pre, post, preun, postun 的用法
https://www.golinuxhub.com/2018/05/how-to-execute-script-at-pre-post-preun-postun-spec-file-rpm/
Ref:
- https://www.golinuxcloud.com/how-to-create-rpm-package-in-linux/#:~:text=Build%20RPM%20from%20source%20code%201%20Step%201%3A,8%20Step%208%3A%20Install%20and%20Validate%20RPM%20
- https://fedoraproject.org/wiki/How_to_create_an_RPM_package/zh-cn#RPM_.E5.9F.BA.E7.A1.80.E7.9F.A5.E8.AF.86
转载请注明出处 http://www.cnblogs.com/mashuai-191/