From 48dccc7d0efbf1ce8d262c3be3785e4dcc1b1358 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Tue, 17 Sep 2019 10:11:11 +0200 Subject: [PATCH 1/2] set upstream_project_name: when creating archive Signed-off-by: Tomas Tomecek --- .packit.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.packit.yaml b/.packit.yaml index d76a9f8b..74333fc5 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -2,6 +2,7 @@ specfile_path: hello.spec synced_files: - hello.spec +upstream_project_name: hello downstream_package_name: hello # actions: # post-upstream-clone: "python3 setup.py sdist --dist-dir ." From 8cdc9bbe618284b3cc58435a3531b1af4f1ee81c Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Tue, 17 Sep 2019 10:11:42 +0200 Subject: [PATCH 2/2] spec: package_name is not set Signed-off-by: Tomas Tomecek --- hello.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.spec b/hello.spec index 43581203..a1ead0a0 100644 --- a/hello.spec +++ b/hello.spec @@ -13,7 +13,7 @@ BuildRequires: python3-devel %prep -%autosetup -n %{package_name}-%{version} +%autosetup -n %{name}-%{version} %build %py3_build