mirror of
https://github.com/funkemunky/KDE-x86_64-v4-Fedora.git
synced 2026-05-31 00:51:56 +00:00
22 lines
614 B
Makefile
22 lines
614 B
Makefile
FEDORA_DIST ?= .fc43
|
|
FEDORA_NAMESPACE ?= rpms
|
|
LOOKASIDE_BASEURL ?= https://src.fedoraproject.org/repo/pkgs
|
|
PYTHON ?= python3
|
|
REPO_ROOT := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/..)
|
|
SPEC_REF := $(strip $(if $(spec),$(spec),$(COPR_PACKAGE)))
|
|
SPECS_DIR ?= SPECS
|
|
|
|
.PHONY: srpm
|
|
|
|
srpm:
|
|
test -n "$(SPEC_REF)"
|
|
test -n "$(outdir)"
|
|
mkdir -p "$(outdir)"
|
|
cd "$(REPO_ROOT)" && "$(PYTHON)" ci/copr-distgit-make-srpm.py \
|
|
--spec-ref "$(SPEC_REF)" \
|
|
--outdir "$(outdir)" \
|
|
--specs-dir "$(SPECS_DIR)" \
|
|
--dist "$(FEDORA_DIST)" \
|
|
--namespace "$(FEDORA_NAMESPACE)" \
|
|
--lookaside-baseurl "$(LOOKASIDE_BASEURL)"
|