From 1a69057a8cb2beea763cacfd3cba97cf9bc7e49f Mon Sep 17 00:00:00 2001 From: lauk Date: Tue, 10 May 2022 16:56:00 +0800 Subject: [PATCH] Change the license to Apache-2.0 --- pyang-swagger.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pyang-swagger.spec b/pyang-swagger.spec index 39b2aad..da3a09f 100644 --- a/pyang-swagger.spec +++ b/pyang-swagger.spec @@ -1,12 +1,12 @@ %global debug_package %{nil} -%global pyang_plugin_dir usr/lib/python3.8/site-packages/pyang/plugins +%global pyang_plugin_dir usr/lib/python3.10/site-packages/pyang/plugins Name: pyang-swagger Version: 1.0 -Release: 1%{?dist} +Release: 2 Summary: A pyang plugin to obtain the RESTCONF API from a yang model -License: Apache +License: Apache-2.0 URL: https://github.com/polycube-network/pyang-swagger Source0: %{name}-%{version}.tar.gz @@ -26,9 +26,12 @@ install -d %{buildroot}/%{pyang_plugin_dir} install pyang/plugins/swagger.py %{buildroot}/%{pyang_plugin_dir} %files -%exclude /usr/lib/python3.8/site-packages/pyang/plugins/__pycache__/*.pyc +%exclude /usr/lib/python3.10/site-packages/pyang/plugins/__pycache__/*.pyc /%{pyang_plugin_dir}/swagger.py %changelog +* Tue May 10 2022 liukuo - 1.0-2 +- Change the license to "Apache-2.0" + * Sun Nov 15 2020 Robertxw 1.0-1 - init packet -- Gitee