Difference between revisions of "Koji Testbed"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 255: | Line 255: | ||
Within that directory, create a Makefile and a spec file. The spec file can be the same as the one from packaging/fedora/trunk for that component. | Within that directory, create a Makefile and a spec file. The spec file can be the same as the one from packaging/fedora/trunk for that component. | ||
− | The Makefile | + | The Makefile is generic, in most cases this should suffice: |
− | + | cwd = $(abspath .) | |
− | version = $(notdir $( | + | version = $(notdir $(cwd)) |
− | component = | + | component = $(notdir $(patsubst %/, %, $(dir $(cwd)))) |
sources: | sources: |