import python-rpm-macros-3-39.el8
This commit is contained in:
parent
68d9a8cdce
commit
c467f858af
@ -66,7 +66,7 @@
|
|||||||
# Accepts zero to three arguments:
|
# Accepts zero to three arguments:
|
||||||
# 1: The PyPI project name, defaulting to %srcname if it is defined, then
|
# 1: The PyPI project name, defaulting to %srcname if it is defined, then
|
||||||
# %pypi_name if it is defined, then just %name.
|
# %pypi_name if it is defined, then just %name.
|
||||||
# 2: The PYPI version, defaulting to %version.
|
# 2: The PYPI version, defaulting to %version with tildes stripped.
|
||||||
# 3: The file extension, defaulting to "tar.gz". (A period will be added
|
# 3: The file extension, defaulting to "tar.gz". (A period will be added
|
||||||
# automatically.)
|
# automatically.)
|
||||||
# Requires %__pypi_url and %__pypi_default_extension to be defined.
|
# Requires %__pypi_url and %__pypi_default_extension to be defined.
|
||||||
@ -93,7 +93,7 @@
|
|||||||
\
|
\
|
||||||
-- If no second argument, use %version
|
-- If no second argument, use %version
|
||||||
if ver == '%2' then
|
if ver == '%2' then
|
||||||
ver = rpm.expand('%version')
|
ver = rpm.expand('%version'):gsub('~', '')
|
||||||
end
|
end
|
||||||
\
|
\
|
||||||
-- If no third argument, use the preset default extension
|
-- If no third argument, use the preset default extension
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: python-rpm-macros
|
Name: python-rpm-macros
|
||||||
Version: 3
|
Version: 3
|
||||||
Release: 38%{?dist}
|
Release: 39%{?dist}
|
||||||
Summary: The unversioned Python RPM macros
|
Summary: The unversioned Python RPM macros
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -71,6 +71,10 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 3-39
|
||||||
|
- Strip tildes from %%version in %%pypi_source by default
|
||||||
|
- Resolves: rhbz#1844902
|
||||||
|
|
||||||
* Mon Oct 14 2019 Charalampos Stratakis <cstratak@redhat.com> - 3-38
|
* Mon Oct 14 2019 Charalampos Stratakis <cstratak@redhat.com> - 3-38
|
||||||
- Fix the %%py_build macro to respect the global definition of %%__python
|
- Fix the %%py_build macro to respect the global definition of %%__python
|
||||||
- Resolves: rhbz#1757833
|
- Resolves: rhbz#1757833
|
||||||
|
Loading…
Reference in New Issue
Block a user