Changeset 1334
- Timestamp:
- Oct 4, 2009, 2:47:36 AM (15 years ago)
- Location:
- trunk/server/fedora
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/fedora/Makefile
r1329 r1334 19 19 # See /COPYRIGHT in this repository for more information. 20 20 21 upstream_yum = krb5 httpd openssh php rubygem-activesupport-2.3.2-1.fc11 rubygem-actionpack-2.3.2-1.fc1121 upstream_yum = krb5 krb5.i586 httpd openssh php rubygem-activesupport-2.3.2-1.fc11 rubygem-actionpack-2.3.2-1.fc11 22 22 upstream = openafs $(upstream_yum) 23 23 oursrc = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i586 whoisd mit-zephyr athrun php_scripts scripts-base … … 39 39 server_arch = "fedora.stable" 40 40 openafs_url = "http://dl.openafs.org/dl/openafs/1.4.11/openafs-1.4.11-1.1.1.src.rpm" 41 42 PKG = $(patsubst %.i586,%,$@) 41 43 42 44 .PHONY: minimal-clean … … 127 129 $(filter %.i586,$(oursrc)): %.i586: setup 128 130 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 129 setarch i586 rpmbuild $(rpmbuild_args) --target=i586 --define="_lib lib" -bb ${tmp_specs}/$**.spec 131 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 132 /usr/bin/mock -r scripts-fc11-i386 --arch=i586 ${rpmbuild_args} --define="_lib lib" -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 130 133 131 134 $(filter-out %.i586,$(oursrc)): %: setup 132 135 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 133 rpmbuild $(rpmbuild_args) -bb ${tmp_specs}/$**.spec 136 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 137 /usr/bin/mock -r scripts-fc11-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 134 138 135 139 $(upstream) rubygem-activesupport rubygem-actionpack openafs-kernel: rpmbuild_args += --define 'scriptsversion $(shell svnversion ${patches} | tr ':' '_')' 136 140 137 $(upstream) rubygem-activesupport rubygem-actionpack: setup patch-specs 138 rpmbuild $(rpmbuild_args) -ba ${tmp_specs}/$@.spec 141 $(filter %.i586,$(upstream)): %.i586: setup patch-specs 142 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 143 /usr/bin/mock -r scripts-fc11-i386 --arch=i586 ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 144 145 $(filter-out %.i586,$(upstream)) rubygem-activesupport rubygem-actionpack: %: setup patch-specs 146 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 147 /usr/bin/mock -r scripts-fc11-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 139 148 140 149 openafs-kernel: setup 141 150 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 142 rpmbuild $(rpmbuild_args) -bb ${tmp_specs}/openafs*.spec 151 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/openafs*.spec 152 /usr/bin/mock -r scripts-fc11-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/openafs*.src.rpm | head -1` 143 153 144 154 #sort -n sorts "2.6.25-1" later than "2.6.25.1-1", so it's Wrong … … 146 156 kernvers = $(shell uname -r | sed "s/\(.*\)[.].*/\1/") 147 157 kvariants = '' 148 openafs_rpmbuild_args = --define "fedorakmod 1" --define "kvariants $(kvariants)" --define "kernvers $(kernvers)" --nodeps158 openafs_rpmbuild_args = --define "fedorakmod 1" --define "kvariants $(kvariants)" --define "kernvers $(kernvers)" 149 159 openafs: rpmbuild_args += $(openafs_rpmbuild_args) 150 160 openafs-kernel: rpmbuild_args += $(openafs_rpmbuild_args) --define "build_userspace 0" --define "build_modules 1" … … 177 187 178 188 # The following packages are needed for our packages 179 basic-deps = kernel-devel rpm-build rpmdevtools gcc autoconf patch krb5-workstation glibc-devel.i586 glibc-devel libtool libgcc.i586189 basic-deps = kernel-devel rpm-build rpmdevtools mock gcc autoconf patch krb5-workstation glibc-devel.i586 glibc-devel libtool libgcc.i586 180 190 oursrc-deps = hesinfo openldap-clients openldap-devel.i586 php-devel 181 191 httpdmods-deps = httpd-devel
Note: See TracChangeset
for help on using the changeset viewer.