Red Hat Bugzilla – Bug 395551
evolution-data-server.spec uses a patch provided by evolution's SRPM
Last modified: 2008-01-17 12:31:54 EST
Description of problem:
The evolution-data-server specfile has a Patch entry for a patch included in
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpmbuild evolution-data-server.spec
error: File [...]/SOURCES/evolution-1.4.4-ldap-x86_64-hack.patch: No such file
My guess is this (seemingly trivial) patch needs to be included in
evolution-data-server's SRPM too (using a different name, to avoid clashes with
the same patch for evolution).
Actually the same patch _is_ included in both the Evolution and E-D-S SRPMs. It
dates back to a time before E-D-S existed, then presumably was copied to the
E-D-S package when it was created.
The patches are identical down to the line number. I can rename the E-D-S patch
if necessary, although I think our own build system would have caught this if it
were really a problem.
I think the patch may have somehow been deleted from your SOURCES directory.
Can you please retest?
Reporter, could you please reply to the previous question? If you won't reply in
one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.
Comment #1 is correct:
$ rpm -qpl evolution-data-server-1.12.1-2.fc8.src.rpm | grep hack
$ diff -us <(rpm2cpio evolution-2.12.1-3.fc8.src.rpm | cpio -i --quiet
--to-stdout evolution-1.4.4-ldap-x86_64-hack.patch) \
<(rpm2cpio evolution-data-server-1.12.1-2.fc8.src.rpm | cpio -i --quiet
Files /dev/fd/63 and /dev/fd/62 are identical
I've probably first installed evolution-2.12.1-3.fc8.src.rpm, installed
evolution-data-server-1.12.1-2.fc8.src.rpm after that end than did "rpmbuild
--rmsource" on evolution's specfile.
You might indeed rename the E-D-S patch. However, that seems only useful for
people that use one SOURCES directory for multiple packages. That is what I do,
because until now I never ran into name clashes with the odd packages I've
The patches are bound to diverge sooner or later so I'll rename the e-d-s patch.
Renamed the ldap-x86_64-hack patch in evolution-data-server-2.21.5-3.fc9.