Hi,
I am new at building rpms, but I am familiar with installing packages from source, patching and adjusting patches.
I am trying to build an rpm from patched freetype2 ( patched with cleartype patches from archlinux ).
Here is what I did:
downloaded the freetype2-2.3.12-6.2.src.rpm from opensuse 11.3 source repository
unpacked it using unrpm
overwrited the bytecode related patch file with the one from archlinux
logged in to openSUSE Build service
created a new package
uploaded all the files from the unpacked src.rpm ( all the patches, source files, *.spec, *.conf )
OBS gave me errors like
Bad file: /usr/src/packages/SOURCES/freetype-2.2.1-subpixel-disable-quantization.diff: No such file or directory
And the same for all the patch files.
How can I tell buildservice to search for files in the current directory? Or where should I upload those files?
Hi
The issue is you have defined the patches in your spec file, but not
uploaded them to the OBS and add the patching routines into your spec
file.
You need to have the original source unpatched, checksum of the
original source verified via md5sum, sha1 etc. Then after the original
source is unpacked in %prep you use the patch command to add the
patches.
Also it’s best if you post the link to you OBS build your having
problems with
Thank you malcolmlewis, I reviewed the spec file and found the error, I uploaded the wrong files. The rpm’s are built, am I proud, I built my first ever rpm, OBS is nice