Changes between Version 61 and Version 62 of RpmHowToPackagers
- Timestamp:
- Apr 10, 2017, 3:25:39 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmHowToPackagers
v61 v62 323 323 Note that in some cases user-level documentation may also be quite bulky (especially when it contains a lot of HTML files with pictures, big PDF files, etc). In such cases it may make sense to put it to a separate package, named `PACKAGE-doc` (`%package doc` in terms of the .spec file) similarly to the template shown above. A rule of thumb is that brief documentation (MAN, INFO) should be always installed with the main package and extended documentation, if it's several dozen MB or more, should go to a `doc` sub-package. 324 324 325 == Filtering out unneeded automatic dependencies 326 327 Recent RPM versions support filtering automatic `Provides` and `Requires` dependencies generated by dependency detection scripts. Filtering out some directories from detection or some dependencies from attaching them to the generated RPMs may be necessary in cases where detection scripts give wrong results or when we lack some packages (usually Perl ones) that don't actually break program behaviour. 328 329 The standard dependency generation and filtering facility is described in detail in the official RPM documentation: http://rpm.org/user_doc/dependency_generators.html. 330 325 331 == Generating debug info packages == 326 332