Merge branch 'master' into epel7
This commit is contained in:
commit
0795b1d7b1
|
@ -33,9 +33,9 @@ CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} install -O1 --ski
|
|||
print(string.sub(package,9,string.len(package)));\
|
||||
print(" < ");\
|
||||
print(vr);\
|
||||
elseif (string.starts(str, "python" .. rpm.expand("%{python3_pkgversion}") .. "-")) then\
|
||||
elseif (string.starts(package, "python" .. rpm.expand("%{python3_pkgversion}") .. "-")) then\
|
||||
--No unversioned provides as python3 is not default\
|
||||
elseif (rpm.expand("%{?python3_other_pkgversion}") ~= "" and string.starts(str, "python" .. rpm.expand("%{python3_other_pkgversion}") .. "-")) then\
|
||||
elseif (rpm.expand("%{?python3_other_pkgversion}") ~= "" and string.starts(package, "python" .. rpm.expand("%{python3_other_pkgversion}") .. "-")) then\
|
||||
--No unversioned provides as python3_other is not default\
|
||||
elseif (string.starts(package, "pypy-")) then\
|
||||
--No unversioned provides as pypy is not default\
|
||||
|
@ -48,8 +48,8 @@ CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} install -O1 --ski
|
|||
print(" = ");\
|
||||
print(vr);\
|
||||
else\
|
||||
print("ERROR: ");\
|
||||
print("%python_provide: ERROR: ");\
|
||||
print(package);\
|
||||
print("not recognized.");\
|
||||
print(" not recognized.");\
|
||||
end\
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Name: python-rpm-macros
|
||||
Version: 3
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: The unversioned Python RPM macros
|
||||
|
||||
License: MIT
|
||||
|
@ -61,6 +61,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-6
|
||||
- Fix typo in %%python_provide
|
||||
|
||||
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-5
|
||||
- Handle noarch python sub-packages (bug #1290900)
|
||||
|
||||
|
|
Loading…
Reference in New Issue