You need a mock RPM build environment.
# yum install mock rpmlint expect
# usermod -a -G mock <USER>
See http://fedoraproject.org/wiki/How_to_create_an_RPM_package and http://fedoraproject.org/wiki/Projects/Mock for more informations.
Declare our repository to the current mock file by adding following lines
[didier]
name=didier
baseurl=http://localhost/repository/fc$releasever
cost=500
- Fedora 19 x86_64 -> /etc/mock/fedora-19-x86_64.cfg
- Fedora 19 i386 -> /etc/mock/fedora-19-i386.cfg
- Fedora 20 x86_64 -> /etc/mock/fedora-20-x86_64.cfg
- Fedora 20 i386 -> /etc/mock/fedora-20-i386.cfg
then on each directory just type
make
Sources will be automatically downloaded if they are not exists yet.
To create ( or update ) repository, from the root directory, run:
make repo
Common Makefile contains help target. So just type the following command to get help.
make help
- Signing tips: http://linux.dell.com/wiki/index.php/Repository/tips