Changeset 507 for server/fedora/Makefile


Ignore:
Timestamp:
Nov 2, 2007, 1:27:49 AM (15 years ago)
Author:
andersk
Message:
Bump to OpenAFS 1.4.5.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/Makefile

    r437 r507  
    3838server_url      = "http://web.mit.edu/scripts/src"
    3939server_arch     = "fedora.stable"
    40 
    41 openafs_rpm_args = -E "%define kernvers $(shell rpm -q --qf "%{Version}-%{Release}\n" --whatprovides kernel | sort -n | tail -n1)"
    4240
    4341.PHONY: minimal-clean
     
    118116$(allsrc): setup
    119117        PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \
    120         rpmbuild -ba ${tmp_specs}/$@*.spec
     118        rpmbuild $(rpmbuild_args) -ba ${tmp_specs}/$@*.spec
    121119
    122120openafs-kernel: setup
    123121        PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \
    124         rpmbuild $(openafs_rpm_args) -bb --define "build_userspace 0" --define "build_modules 1" ${tmp_specs}/openafs*.spec
     122        rpmbuild $(rpmbuild_args) -bb ${tmp_specs}/openafs*.spec
     123
     124openafs_rpmbuild_args = --define "fedorakmod 1" --define "kvariants ''" --define "kernvers $(shell rpm -q --qf "%{Version}-%{Release}\n" --whatprovides kernel | sort -n | tail -n1)"
     125openafs: rpmbuild_args += $(openafs_rpmbuild_args)
     126openafs-kernel: rpmbuild_args += $(openafs_rpmbuild_args) --define "build_userspace 0" --define "build_modules 1"
    125127
    126128suexec: install-srpms
Note: See TracChangeset for help on using the changeset viewer.