package init
This commit is contained in:
parent
7c65886483
commit
868e48472e
BIN
libyang-1.6.1.tar.gz
Normal file
BIN
libyang-1.6.1.tar.gz
Normal file
Binary file not shown.
38
python-libyang.spec
Normal file
38
python-libyang.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%define debug_package %{nil}
|
||||
%define pypi_name libyang
|
||||
|
||||
Name: python-libyang
|
||||
Version: 1.6.1
|
||||
Release: 1
|
||||
Summary: Python CFFI bindings to libyang.
|
||||
License: MIT
|
||||
URL: https://github.com/CESNET/libyang-python
|
||||
Source0: https://files.pythonhosted.org/packages/20/23/0b2445f42452f548401ae90f434d5e531e15a131f42570467fc722906c1e/%{pypi_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools libyang python3-cffi libyang-devel
|
||||
|
||||
%description
|
||||
Python CFFI bindings to libyang.
|
||||
|
||||
%package -n python3-libyang
|
||||
Summary: python3 pacakge of %{pypi_name}
|
||||
Requires: python3 libyang python3-cffi
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
python3 pacakge of %{pypi_name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%{python3_sitearch}/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 26 2021 orange-snn<songnannan2@huawei.com> - 1.6.1-1
|
||||
- Package init
|
||||
4
python-libyang.yaml
Normal file
4
python-libyang.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: pypi
|
||||
src_repo: libyang
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user