Hide Forgot
We've identified your package for having `Requires(pre)` RPM flag without `Requires` [1]. `Requires(pre)` rpm tag could be interpreted wrongly, so to prevent any harm to Fedora users I am notifying you about this fact. Any package that is specified in `Requires(pre)` could be freely removed. Citing from RPM pages: ``` If there are no other dependencies on the package providing /usr/sbin/useradd, that package is permitted to be removed from the system after installation(!) ``` [2] If you really rely on dependency just during the installation process and your package don't necessary require the dependency for the proper run of your application then ignore this bug report and close it as NOTABUG. Otherwise add to your spec file additional `Requires` for the dependency, please. [1] paste.fedoraproject.org/341611/82208431 [2] http://www.rpm.org/wiki/PackagerDocs/MoreOnDependencies
I fail to see anything suspicious here... BuildRequires: byacc BuildRequires: flex BuildRequires: openssl-devel Requires(post): pwgen %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 BuildRequires: systemd-units Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units %else Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): initscripts
Well, the F24/rawhide package doesn't resemble that bit of code at all. It's actually still kind of a mess, because the individual subpackages have their own dependency blocks, and the dep on shadow-utils is indeed only a Requires(pre). But that's exactly correct in this case; it's needed only to create a user at install time and isn't needed at all at runtime or when the package is uninstalled. I suspect that nearly all of the dependencies on shadow-utils or /usr/sbin/useradd will fall into this category. So I'll close NOTABUG as the original report suggests.
Then it's correct to close it.