change the python3 package name to python3-pyang from python3-libyang
(cherry picked from commit 4a617349f19cf897b282d43a108808704200a408)
This commit is contained in:
parent
872478880e
commit
fb01e6387c
11
libyang.spec
11
libyang.spec
@ -1,7 +1,7 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
Name: libyang
|
Name: libyang
|
||||||
Version: 1.0.184
|
Version: 1.0.184
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: YANG data modeling language library
|
Summary: YANG data modeling language library
|
||||||
Url: https://github.com/CESNET/libyang
|
Url: https://github.com/CESNET/libyang
|
||||||
Source: %{url}/archive/%{name}-%{version}.tar.gz
|
Source: %{url}/archive/%{name}-%{version}.tar.gz
|
||||||
@ -45,7 +45,7 @@ Summary: Development files for libyang-cpp
|
|||||||
Requires: libyang-cpp%{?_isa} = %{version}-%{release}
|
Requires: libyang-cpp%{?_isa} = %{version}-%{release}
|
||||||
Requires: pcre-devel
|
Requires: pcre-devel
|
||||||
|
|
||||||
%package -n python3-libyang
|
%package -n python3-yang
|
||||||
Summary: Python3 bindings for libyang
|
Summary: Python3 bindings for libyang
|
||||||
Requires: libyang-cpp%{?_isa} = %{version}-%{release}
|
Requires: libyang-cpp%{?_isa} = %{version}-%{release}
|
||||||
%{?python_provide:%python_provide python3-libyang}
|
%{?python_provide:%python_provide python3-libyang}
|
||||||
@ -56,7 +56,7 @@ Bindings of libyang library to C++ language.
|
|||||||
%description -n libyang-cpp-devel
|
%description -n libyang-cpp-devel
|
||||||
Headers of bindings to c++ language.
|
Headers of bindings to c++ language.
|
||||||
|
|
||||||
%description -n python3-libyang
|
%description -n python3-yang
|
||||||
Bindings of libyang library to python language.
|
Bindings of libyang library to python language.
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -124,12 +124,15 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html
|
|||||||
%{_libdir}/pkgconfig/libyang-cpp.pc
|
%{_libdir}/pkgconfig/libyang-cpp.pc
|
||||||
%dir %{_includedir}/libyang/
|
%dir %{_includedir}/libyang/
|
||||||
|
|
||||||
%files -n python3-libyang
|
%files -n python3-yang
|
||||||
%{python3_sitearch}/yang.py
|
%{python3_sitearch}/yang.py
|
||||||
%{python3_sitearch}/_yang.so
|
%{python3_sitearch}/_yang.so
|
||||||
%{python3_sitearch}/__pycache__/yang*
|
%{python3_sitearch}/__pycache__/yang*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 25 2021 orange-snn <songnannan2@huawei.com> - 1.0.184-4
|
||||||
|
- change the python3 package name to python3-pyang from python3-libyang
|
||||||
|
|
||||||
* Tue Jun 29 2021 anaonymous_z <zhangrui182@huawei.com> - 1.0.184-3
|
* Tue Jun 29 2021 anaonymous_z <zhangrui182@huawei.com> - 1.0.184-3
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user