From 2fdb7806aa947d4997aea6cb33f3e893a2b7d876 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
Date: Thu, 5 Oct 2023 17:03:39 +0200
Subject: [PATCH 1/5] *pkg import: Don't delete changelog generated by
`rpmautospec convert`
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Miro HronĨok <miro@hroncok.cz>
---
pyrpkg/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyrpkg/__init__.py b/pyrpkg/__init__.py
index 5928d47..b257fec 100644
--- a/pyrpkg/__init__.py
+++ b/pyrpkg/__init__.py
@@ -2040,7 +2040,7 @@ class Commands(object):
# not be removed by import command.
reserved_ourfiles = [
'README.md', 'gating.yaml', 'tests/*', '*.rpmlintrc',
- '.fmf/*', '*.fmf']
+ '.fmf/*', '*.fmf', 'changelog']
# Get a list of files we're currently tracking
ourfiles = self.repo.git.ls_files().split('\n')
--
2.41.0