diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2023-12-11 23:11:40 +0100 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2023-12-11 23:11:40 +0100 |
| commit | 7fd8c47ba6ae8dd018e040ddca28a4367d851b5b (patch) | |
| tree | b7929bf35d6da6e90bd5033041537250d18924f0 /.copr/Makefile | |
Initial packaging
Diffstat (limited to '.copr/Makefile')
| -rw-r--r-- | .copr/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..0b2aaf9 --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,15 @@ +spec ?= $(wildcard *.spec) +ifneq ($(words spec),1) +$(error More than one spec file: $(spec)) +endif +outdir ?= $(CURDIR) + +srpm: $(spec) /usr/bin/spectool + spectool -g $(spec) + sha512sum -c $(CURDIR)/sources + rpmbuild -D '_sourcedir $(CURDIR)' -D "_srcrpmdir $(outdir)" -bs $(spec) + +.PHONY: srpm + +%: + dnf -y install $@ |
