User Tools

Site Tools


rpm5

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 Both sides next revision
rpm5 [2012-09-22 10:43]
baggins
rpm5 [2012-09-22 15:35]
glen code blocks
Line 53: Line 53:
 ==== Build options ==== ==== Build options ====
  
-  * /var/tmp is now used when TMPDIR environment variable is not set, the reason for this change is to avoid future problems if/when systemd forces it's way of /tmp as tmpfs +  * ''​/var/tmp'' ​is now used when TMPDIR environment variable is not set, the reason for this change is to avoid future problems if/when systemd forces it's way of ''​/tmp'' ​as tmpfs 
   * **-Wformat -Werror=format-security** options are added to compiler flags, more information about it can be found on [[http://​wiki.mandriva.com/​en/​Development/​Packaging/​Problems#​format_not_a_string_literal_and_no_format_arguments|Mandriva Wiki]] ​   * **-Wformat -Werror=format-security** options are added to compiler flags, more information about it can be found on [[http://​wiki.mandriva.com/​en/​Development/​Packaging/​Problems#​format_not_a_string_literal_and_no_format_arguments|Mandriva Wiki]] ​
   * **Stack Smashing Protector** is also enabled by default, if you really MUST disable SSP then undefine **_ssp_cflags** macro    * **Stack Smashing Protector** is also enabled by default, if you really MUST disable SSP then undefine **_ssp_cflags** macro 
Line 65: Line 65:
 <​file>​%include /​usr/​lib/​rpm/​macros.perl <​file>​%include /​usr/​lib/​rpm/​macros.perl
 </​file>​ </​file>​
-In rpm 5.x those macro files have been moved to /​usr/​lib/​rpm/​macros.d/​ directory, and must be loaded using %{load:} directive+In rpm 5.x those macro files have been moved to ''​/​usr/​lib/​rpm/​macros.d/​'' ​directory, and must be loaded using %{load:} directive. However the old statement still works, as it contains the same code to load the macros. ​
  
  
rpm5.txt ยท Last modified: 2015-01-13 16:01 by glen