Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add SRPMS, .rpmmacros and epel-5-x86_64-hphp mock config
- Loading branch information
Rudy Grigar
committed
Nov 19, 2010
1 parent
df7c6bb
commit 9340673
Showing
11 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
%_topdir %(echo $HOME)/rpmbuild | ||
%_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\ | ||
&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\ | ||
if [ "$RPM_BUILD_NCPUS" -gt 16 ]; then echo "-j16"; \\\ | ||
elif [ "$RPM_BUILD_NCPUS" -gt 3 ]; then echo "-j$RPM_BUILD_NCPUS"; \\\ | ||
else echo "-j3"; fi) | ||
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot | ||
|
||
#Payload compression with gzip: | ||
%_source_payload w9.gzdio | ||
%_binary_payload w9.gzdio | ||
|
||
#Use md5 for file hash algorithm: | ||
%_source_filedigest_algorithm 1 | ||
%_binary_filedigest_algorithm 1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
config_opts['root'] = 'epel-5-x86_64' | ||
config_opts['target_arch'] = 'x86_64' | ||
config_opts['chroot_setup_cmd'] = 'install buildsys-build' | ||
#config_opts['dist'] = 'el5' # only useful for --resultdir variable subst | ||
config_opts['dist'] = 'hphp' # only useful for --resultdir variable subst | ||
|
||
config_opts['yum.conf'] = """ | ||
[main] | ||
cachedir=/var/cache/yum | ||
debuglevel=1 | ||
logfile=/var/log/yum.log | ||
reposdir=/dev/null | ||
retries=20 | ||
obsoletes=1 | ||
gpgcheck=0 | ||
assumeyes=1 | ||
syslog_ident=mock | ||
syslog_device= | ||
# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all | ||
# .i?86 packages except these. | ||
exclude=[1-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 | ||
# repos | ||
|
||
[core] | ||
name=base | ||
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os | ||
|
||
[update] | ||
name=updates | ||
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=updates | ||
|
||
[groups] | ||
name=groups | ||
baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/ | ||
|
||
[extras] | ||
name=epel | ||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 | ||
|
||
[testing] | ||
name=epel-testing | ||
enabled=0 | ||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=x86_64 | ||
|
||
[local] | ||
name=local | ||
baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/x86_64/ | ||
cost=2000 | ||
enabled=0 | ||
|
||
[hphp] | ||
name=hphp | ||
baseurl=http://pkg.tag1consulting.com/hphp/x86_64/ | ||
enabled=1 | ||
gpgcheck=0 | ||
|
||
[ius] | ||
name=ius | ||
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$basearch | ||
enabled=1 | ||
gpgcheck=0 | ||
|
||
""" | ||
|