Commit 02ce60de authored by Pavel Vainerman's avatar Pavel Vainerman

package name "python" -> "python3"

parent 4c7d7bcf
......@@ -26,7 +26,7 @@
Name: libuniset2
Version: 2.14.1
Release: alt1
Release: alt2
Summary: UniSet - library for building distributed industrial control systems
License: LGPL-2.1
......@@ -79,8 +79,8 @@ BuildRequires: netdata
%endif
%if_enabled python
BuildRequires: python-base python3-dev
BuildRequires(pre): rpm-build-python
BuildRequires: python3-dev
BuildRequires(pre): rpm-build-python3
# swig
# add_findprov_lib_path %python_sitelibdir/%oname
......@@ -123,14 +123,14 @@ Libraries needed to develop for UniSet.
%if_enabled python
%package -n python-module-%oname
%package -n python3-module-%oname
Group: Development/Python
Summary: python interface for libuniset
Requires: %name = %version-%release
# py_provides UGlobal UInterface UniXML uniset
%description -n python-module-%oname
%description -n python3-module-%oname
Python interface for %name
%endif
......@@ -466,7 +466,7 @@ rm -f %buildroot%_docdir/%oname/html/*.md5
%endif
%if_enabled python
%files -n python-module-%oname
%files -n python3-module-%oname
%python3_sitelibdir/*
%python3_sitelibdir_noarch/%oname/*
%dir %python3_sitelibdir_noarch/%oname
......@@ -594,6 +594,9 @@ rm -f %buildroot%_docdir/%oname/html/*.md5
# history of current unpublished changes
%changelog
* Mon Aug 16 2021 Pavel Vainerman <pv@altlinux.ru> 2.14.1-alt2
- remove python-base require
* Sun Aug 15 2021 Pavel Vainerman <pv@altlinux.ru> 2.14.1-alt1
- python2 -> python3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment