From 9f0e1f428ae20700bba0fbbd0625d6e7094fc8eb Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Apr 07 2022 21:24:34 +0000 Subject: [PATCH 1/3] A test for CI to run --- diff --git a/TEST b/TEST new file mode 100644 index 0000000..9ae36e8 --- /dev/null +++ b/TEST @@ -0,0 +1 @@ +Just a test file From d19ae5042b969d02f1a904369bb9b17d0b9146a8 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Apr 08 2022 13:08:35 +0000 Subject: [PATCH 2/3] Include a broken change It sure looks like copr is pulling the upstream tarball and not applying any local changes. --- diff --git a/src/getcert.c b/src/getcert.c index ddcb739..df7a347 100644 --- a/src/getcert.c +++ b/src/getcert.c @@ -15,6 +15,8 @@ * along with this program. If not, see . */ +Obviously bad code + #include "config.h" #include From 820c0318f8982c079b5c14370e48807ee0aa3e34 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Apr 08 2022 15:57:34 +0000 Subject: [PATCH 3/3] Tell copr how to build a srpm with the current repo --- diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..473a151 --- /dev/null +++ b/.copr/Makefile @@ -0,0 +1,9 @@ +srpm: + pushd "${cloned_repodir}"; \ + git archive -v --format=tar --prefix=certmonger-0.79.15/ HEAD | gzip > certmonger-0.79.15.tar.gz; \ + rpmbuild \ + --define "_sourcedir `pwd`" \ + --define "_srcrpmdir ${outdir}" \ + -bs `pwd`/certmonger.spec; \ + popd +