User Tools

Site Tools


packages:rpm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
packages:rpm [2021-01-30 17:20]
baggins
packages:rpm [2021-01-31 21:01]
baggins noauto deps wrapped
Line 37: Line 37:
  
   * Suggests are now [[http://​rpm.org/​user_doc/​dependencies.html|Recommends]],​   * Suggests are now [[http://​rpm.org/​user_doc/​dependencies.html|Recommends]],​
-  * ''​noautoreq*''​ and ''​noautoprov*''​ must be converted to [[https://​docs.fedoraproject.org/​en-US/​packaging-guidelines/​AutoProvidesAndRequiresFiltering/​|__requires_exclude* and __provides_exclude*]] respectively. 
-<​note>​The above is not yet integrated into [[packages:​rpm-pld-macros|rpm-pld-macros]]</​note>​ 
   * ''​Obsoletes''/''​Provides''​ must follow the package naming rules, they cannot contain characters like ''​()''​ or ''/'',​ what means packages cannot depend on path/files or same virtual dependency names (ex. ''​perl::​Foo''​ is not accepted).   * ''​Obsoletes''/''​Provides''​ must follow the package naming rules, they cannot contain characters like ''​()''​ or ''/'',​ what means packages cannot depend on path/files or same virtual dependency names (ex. ''​perl::​Foo''​ is not accepted).
   * Minor spec syntax changes   * Minor spec syntax changes
Line 44: Line 42:
     * Bare words are no longer supported, please use "​..."​ (ex. ''​%if "​%{_lib}"​ != "​lib"''​)     * Bare words are no longer supported, please use "​..."​ (ex. ''​%if "​%{_lib}"​ != "​lib"''​)
     * Symlinks are always packaged with 777 mode and using ''​%attr()''​ for symlink is reported as warning     * Symlinks are always packaged with 777 mode and using ''​%attr()''​ for symlink is reported as warning
-    * ''​Requires(triggerpostun)''​ is not supported, replace with ''​postun''​.+    * ''​Requires(triggerpostun)''​ is not supported, replace with ''​Requires(postun)''​.
  
 ===== Spec development ===== ===== Spec development =====
packages/rpm.txt · Last modified: 2021-05-02 21:28 by baggins