!5 change the python3 package name to python3-pyang from python3-libyang
From: @orange-snn Reviewed-by: @hubble_zhu Signed-off-by: @hubble_zhu
This commit is contained in:
commit
d0534d6692
11
libyang.spec
11
libyang.spec
@ -1,7 +1,7 @@
|
||||
%global debug_package %{nil}
|
||||
Name: libyang
|
||||
Version: 1.0.184
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: YANG data modeling language library
|
||||
Url: https://github.com/CESNET/libyang
|
||||
Source: %{url}/archive/%{name}-%{version}.tar.gz
|
||||
@ -45,7 +45,7 @@ Summary: Development files for libyang-cpp
|
||||
Requires: libyang-cpp%{?_isa} = %{version}-%{release}
|
||||
Requires: pcre-devel
|
||||
|
||||
%package -n python3-libyang
|
||||
%package -n python3-yang
|
||||
Summary: Python3 bindings for libyang
|
||||
Requires: libyang-cpp%{?_isa} = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python3-libyang}
|
||||
@ -56,7 +56,7 @@ Bindings of libyang library to C++ language.
|
||||
%description -n libyang-cpp-devel
|
||||
Headers of bindings to c++ language.
|
||||
|
||||
%description -n python3-libyang
|
||||
%description -n python3-yang
|
||||
Bindings of libyang library to python language.
|
||||
|
||||
%description devel
|
||||
@ -124,12 +124,15 @@ cp -r doc/html %{buildroot}/%{_docdir}/libyang/html
|
||||
%{_libdir}/pkgconfig/libyang-cpp.pc
|
||||
%dir %{_includedir}/libyang/
|
||||
|
||||
%files -n python3-libyang
|
||||
%files -n python3-yang
|
||||
%{python3_sitearch}/yang.py
|
||||
%{python3_sitearch}/_yang.so
|
||||
%{python3_sitearch}/__pycache__/yang*
|
||||
|
||||
%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
|
||||
- Type:CVE
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user