From 561c73fdfb577923c69a22bd8a5e8d7a490312d9 Mon Sep 17 00:00:00 2001 From: xu_lei_123 Date: Fri, 30 Dec 2022 16:50:32 +0800 Subject: [PATCH] Add Packit support for initial-setup --- Add-Packit-support-for-initial-setup.patch | 39 ++++++++++++++++++++++ initial-setup.spec | 6 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 Add-Packit-support-for-initial-setup.patch diff --git a/Add-Packit-support-for-initial-setup.patch b/Add-Packit-support-for-initial-setup.patch new file mode 100644 index 0000000..735c706 --- /dev/null +++ b/Add-Packit-support-for-initial-setup.patch @@ -0,0 +1,39 @@ +From d33a1c1f05b707cead2d5ead060f63d118cd8468 Mon Sep 17 00:00:00 2001 +From: xu_lei_123 +Date: Fri, 30 Dec 2022 15:10:38 +0800 +Subject: [PATCH] ss + +--- + .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 0000000..cac2945 +--- /dev/null ++++ b/.packit.yml +@@ -0,0 +1,20 @@ ++specfile_path: initial-setup.spec ++upstream_package_name: initial-setup ++upstream_tag_template: r{version}-1 ++actions: ++ create-archive: ++ - "make BUILD_ARGS=sdist archive" ++ - 'bash -c "cp dist/*.tar.gz ."' ++ - 'bash -c "ls -1 initial-setup-*.tar.gz"' ++ jobs: ++ - job: tests ++ trigger: pull_request ++ metadata: ++ targets: ++ - fedora-rawhide ++ ++ - job: copr_build ++ trigger: pull_request ++ metadata: ++ targets: ++ - fedora-eln +-- +2.21.0 + diff --git a/initial-setup.spec b/initial-setup.spec index 54d4b33..f3810e9 100644 --- a/initial-setup.spec +++ b/initial-setup.spec @@ -1,6 +1,6 @@ Name: initial-setup Version: 0.3.83 -Release: 2 +Release: 3 Summary: Initialize system configuration for a newly installed computer License: GPLv2+ URL: https://github.com/rhinstaller/initial-setup @@ -8,6 +8,7 @@ Source0: https://github.com/rhinstaller/initial-setup/archive/r0.3.83-1 Patch0001: Drop-python-nose-from-the-dependencies.patch Patch9001: initial-setup-add-support-openeuler.patch Patch9002: Adapt-to-category-title-translation-fix-in-Anaconda.patch +Patch9003: Add-Packit-support-for-initial-setup.patch %define debug_package %{nil} @@ -83,6 +84,9 @@ fi %changelog +* Fri Dec 30 2022 xulei - 0.3.83-3 +- Add Packit support for initial-setup + * Fri Dec 30 2022 xulei - 0.3.83-2 - Adapt to category title translation fix in Anaconda -- Gitee