From af587d4edd970b72b3cb243a5e4d356a2e467408 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Wed, 1 Apr 2026 15:16:50 +0200 Subject: [PATCH] Basic test case: skip_build --- comment: test --- .packit.yaml | 37 ++----------------------------------- hello.spec | 34 ---------------------------------- 2 files changed, 2 insertions(+), 69 deletions(-) delete mode 100644 hello.spec diff --git a/.packit.yaml b/.packit.yaml index dce8acc3..83192b80 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,41 +1,8 @@ --- packit_instances: ["prod", "stg"] -specfile_path: hello.spec -files_to_sync: - - .packit.yaml - - hello.spec -upstream_package_name: hello -downstream_package_name: hello -# actions: -# post-upstream-clone: "python3 setup.py sdist --dist-dir ." -# current_version_command: ["python3", "setup.py", "--version"] -# create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."] jobs: -- job: copr_build - trigger: pull_request - targets: - - fedora-stable-x86_64 - - fedora-rawhide-x86_64 - -- job: copr_build - trigger: release - targets: - - fedora-stable - -- job: copr_build - trigger: commit - branch: main - targets: - - fedora-stable - - job: tests trigger: pull_request targets: - - fedora-stable-x86_64 - - fedora-rawhide-x86_64 - -- job: propose_downstream - trigger: release - packit_instances: ["stg"] - dist_git_branches: - - fedora-all + - centos-stream-9-x86_64 + skip_build: true diff --git a/hello.spec b/hello.spec deleted file mode 100644 index afd23b0d..00000000 --- a/hello.spec +++ /dev/null @@ -1,34 +0,0 @@ -Name: hello -Version: 0.1.0 -Release: 1%{?dist} -Summary: Nice and a polite tool to make your day -License: MIT -URL: https://github.com/packit-service/hello-world -Source0: hello-%{version}.tar.gz -BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-setuptools - -%description -%{summary} - - -%prep -%autosetup -n %{name}-%{version} - -%build -%py3_build - -%install -%py3_install - -%files -%license LICENSE -%{_bindir}/hello -%{python3_sitelib}/* -%doc README.md - -%changelog -* Thu May 02 2019 Tomas Tomecek - 0.1.0-1 -- initial upstream release: 0.1.0 -