Skip to content

Commit b497178

Browse files
authored
Build fix: adding a macro for python-podman-api (#12519)
1 parent 486b1b8 commit b497178

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

SPECS-EXTENDED/python-podman-api/python-podman-api.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Distribution: Azure Linux
77
%global git https://github.com/containers/python-%{srcname}
88
%global commit d4b8263bf08b72082cfb45e7367ebf4309facc54
99
%global shortcommit %(c=%{commit}; echo ${c:0:7})
10+
%define _python_dist_allow_version_zero 1
1011

1112
# Several tests require internet conection or journald to be running
1213
# Let's disable checking for now
@@ -18,7 +19,7 @@ Distribution: Azure Linux
1819
Name: python-%{pkgsuf}
1920
# See https://github.com/containers/python-podman/issues/27
2021
Version: 0.0.0
21-
Release: 2%{?dist}
22+
Release: 3%{?dist}
2223
Summary: Python bindings for using Varlink access to Podman Service
2324

2425
License: ASL 2.0
@@ -80,6 +81,9 @@ export PBR_VERSION="0.0.0"
8081
%{python3_sitelib}/%{srcname}-*.egg-info/
8182

8283
%changelog
84+
* Thu Feb 20 2025 Archana Shettigar <v-shettigara@microsoft.com> - 0.0.0-3
85+
- Added a macro to fix build
86+
8387
* Fri Feb 04 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.0.0-2
8488
- Removing epoch.
8589
- License verified.

0 commit comments

Comments
 (0)