Add Packit support for initial-setup

This commit is contained in:
xu_lei_123 2022-12-30 16:50:32 +08:00
parent bddb262023
commit 561c73fdfb
2 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,39 @@
From d33a1c1f05b707cead2d5ead060f63d118cd8468 Mon Sep 17 00:00:00 2001
From: xu_lei_123 <xulei@xfusion.com>
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

View File

@ -1,6 +1,6 @@
Name: initial-setup Name: initial-setup
Version: 0.3.83 Version: 0.3.83
Release: 2 Release: 3
Summary: Initialize system configuration for a newly installed computer Summary: Initialize system configuration for a newly installed computer
License: GPLv2+ License: GPLv2+
URL: https://github.com/rhinstaller/initial-setup 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 Patch0001: Drop-python-nose-from-the-dependencies.patch
Patch9001: initial-setup-add-support-openeuler.patch Patch9001: initial-setup-add-support-openeuler.patch
Patch9002: Adapt-to-category-title-translation-fix-in-Anaconda.patch Patch9002: Adapt-to-category-title-translation-fix-in-Anaconda.patch
Patch9003: Add-Packit-support-for-initial-setup.patch
%define debug_package %{nil} %define debug_package %{nil}
@ -83,6 +84,9 @@ fi
%changelog %changelog
* Fri Dec 30 2022 xulei<xulei@xfusion.com> - 0.3.83-3
- Add Packit support for initial-setup
* Fri Dec 30 2022 xulei<xulei@xfusion.com> - 0.3.83-2 * Fri Dec 30 2022 xulei<xulei@xfusion.com> - 0.3.83-2
- Adapt to category title translation fix in Anaconda - Adapt to category title translation fix in Anaconda