From 5e52448cf385c35e5101c9bd45d40ea8be4e2b3b Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Thu, 5 Dec 2019 09:39:25 -0500 Subject: [PATCH 1/2] Add Packit Integration --- .packit.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .packit.yml diff --git a/.packit.yml b/.packit.yml new file mode 100644 index 00000000..209a6e4b --- /dev/null +++ b/.packit.yml @@ -0,0 +1,20 @@ +specfile_path: tlog.spec +synced_files: + - tlog.spec + - .packit.yml +upstream_package_name: tlog +downstream_package_name: tlog +actions: + post-upstream-clone: + - autoreconf -if + - ./configure --prefix=/usr --sysconfdir=/etc +create_tarball_command: ["make", "dist"] +current_version_command: ["git", "describe", "--abbrev=0"] +jobs: +- job: copr_build + trigger: pull_request + metadata: + targets: + - fedora-29-x86_64 + - fedora-30-x86_64 + - fedora-rawhide-x86_64 From 99aa69576b15a7026020de3bad2370de61adb0d5 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Wed, 29 Jan 2020 16:58:06 +0100 Subject: [PATCH 2/2] packit: use actions to make the build work Signed-off-by: Tomas Tomecek --- .packit.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.packit.yml b/.packit.yml index 209a6e4b..777da597 100644 --- a/.packit.yml +++ b/.packit.yml @@ -8,8 +8,12 @@ actions: post-upstream-clone: - autoreconf -if - ./configure --prefix=/usr --sysconfdir=/etc -create_tarball_command: ["make", "dist"] -current_version_command: ["git", "describe", "--abbrev=0"] + get-current-version: + - git describe --abbrev=0 + create-archive: + - make dist + # packit needs this to know that tarball path + - bash -c 'ls -1 ./tlog*.tar.gz' jobs: - job: copr_build trigger: pull_request