Bug 1319184 - incorrect use of Requires(pre)?
Summary: incorrect use of Requires(pre)?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-bbdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Göran Uddeborg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-18 15:58 UTC by Honza Silhan
Modified: 2016-03-24 20:34 UTC (History)
1 user (show)

Fixed In Version: emacs-bbdb-3.1.2-6.fc25
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-24 20:34:09 UTC
Type: ---


Attachments (Terms of Use)

Description Honza Silhan 2016-03-18 15:58:42 UTC
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

Comment 1 Göran Uddeborg 2016-03-24 20:34:09 UTC
The requirement was actually correct.  The package had a %pre script that used the info package.

But that was cleanup code for an issue that hasn't been around since F22.  So now that F24 is branched, I could remove it for rawhide.  emacs-bbdb-3.1.2-6.fc25 is building as I write this.


Note You need to log in before you can comment on or make changes to this bug.