Changes

Jump to: navigation, search

LEAP SOP

9 bytes added, 21:04, 27 March 2016
no edit summary
; Fail to patch
: <u>Reason</u>: Wrong patches or sources were packed into the source rpm
: <u>Solution</u>: Retrieve the original CentOS src.rpm and repack it again, see also: [[#Duplicated source file namesname]]
=== Resources ===
ExclusiveArch: x86_64 aarch64
</source>
* When commenting out a existing line of code, add one more '''%''' before any rpm macro otherwise rpmbuild will complaintreat it as a error/warning. For instance:
<source lang=bash>
# Before commenting out
* '''xorg-x11-server''' - xorg-x11-drv* always require the specific version of xorg-x11-server they are built with
== Duplicated source filename name ==
It is possible that a few packages contain patches or sources having identical names. When installing source rpms to rpmbuild tree (<tt>$HOME/rpmbuild/*</tt>), try to avoid installing too many of them at a time (50+). Wipe the rpmbuild tree after finishing modification and build of those packages on Koji. There are a few problematic packages have been discovered:
* OpenJDK 6 / 7 / 8 packages

Navigation menu