View Full Version : Can't find source rpms of the -devel packages
29th July 2010, 08:04 PM
I want to build an httpd rpm for Centos 5 from the Fedora 13 httpd and apr versions using mock.
I'm having a problem in which I can't find the source rpms of the required -devel packages.
Are they published somewhere?
29th July 2010, 08:36 PM
Hello. You will not find a separate sources rpm package for httpd-devel, or any other, as the *-devel rpm package is built from the same source rpm (SRPM) that builds the binary package. Have a look here (http://koji.fedoraproject.org/koji/buildinfo?buildID=186701) on the koji build server for the F13 httpd packages. They, are all built from the single src.rpm package listed on that page. The spec file controls the packaging of the source code into the appropriate separate rpm packages. You can look at the spec file for a F13 httpd build at this link (http://cvs.fedoraproject.org/viewvc/rpms/httpd/devel/httpd.spec?revision=1.141&view=markup). Note the sections '%package name' that define the various packages to build in the spec file.
30th July 2010, 04:36 AM
If you need to download the source RPMS, you can also use the yumdownloader command, e.g.
yumdownloader --source --destdir /home/foo/ httpd
30th July 2010, 09:01 PM
Ok, Thanks for the good answers.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.