summaryrefslogtreecommitdiffstats
path: root/.copr/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-03-11 05:48:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-03-11 05:48:27 +0000
commitce066ea91e37b24627b6aa1ac02c738389353267 (patch)
treeb3c2b9f8216516e177cf9cd5e88c473679b60c51 /.copr/Makefile
parentAdding upstream version 2.0.1+debian. (diff)
downloaddnscap-ce066ea91e37b24627b6aa1ac02c738389353267.tar.xz
dnscap-ce066ea91e37b24627b6aa1ac02c738389353267.zip
Adding upstream version 2.0.2.upstream/2.0.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.copr/Makefile')
-rw-r--r--.copr/Makefile23
1 files changed, 0 insertions, 23 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
deleted file mode 100644
index 29ed0bc..0000000
--- a/.copr/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-top=..
-
-all: srpm
-
-prereq: $(top)/rpmbuild
- rpm -q git rpm-build >/dev/null || dnf -y install git rpm-build
-
-update-dist-tools: $(top)/dist-tools
- ( cd "$(top)/dist-tools" && git pull )
-
-$(top)/dist-tools:
- git clone https://github.com/jelu/dist-tools.git "$(top)/dist-tools"
-
-$(top)/rpmbuild:
- mkdir -p "$(top)"/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
-
-srpm: prereq update-dist-tools
- test -f .gitmodules && git submodule update --init || true
- echo "$(spec)" | grep -q "develop.spec" && auto_build_number=`date --utc +%s` message="Auto build `date --utc --iso-8601=seconds`" "$(top)/dist-tools/spec-new-changelog-entry" || true
- overwrite=yes nosign=yes "$(top)/dist-tools/create-source-packages" rpm
- cp ../*.orig.tar.gz "$(top)/rpmbuild/SOURCES/"
- echo "$(spec)" | grep -q "develop.spec" && rpmbuild -bs --define "%_topdir $(top)/rpmbuild" --undefine=dist rpm/*.spec || rpmbuild -bs --define "%_topdir $(top)/rpmbuild" --undefine=dist "$(spec)"
- cp "$(top)"/rpmbuild/SRPMS/*.src.rpm "$(outdir)"