diff --git a/Add-Packit-support-for-initial-setup.patch b/Add-Packit-support-for-initial-setup.patch new file mode 100644 index 0000000000000000000000000000000000000000..291e91e766153d272147c348577e9fbc80b3527b --- /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] Add Packit support for initial-setup + +--- + .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 fd80a658a653302d69d6e1956bf425bf682a9e48..cd15f83051a33b487e09b2fc297f5dd09b72aa5a 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,8 @@ 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} @@ -82,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