diff options
Diffstat (limited to 'python-django-treenode.spec')
| -rw-r--r-- | python-django-treenode.spec | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/python-django-treenode.spec b/python-django-treenode.spec index fce18ab..b28a2c0 100644 --- a/python-django-treenode.spec +++ b/python-django-treenode.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-django-treenode -Version: 0.19.0 +Version: 0.20.1 Release: 1 -Summary: django-treenode is probably the best abstract model / admin for your tree based stuff. -License: MIT License +Summary: probably the best abstract model/admin for your tree based stuff. +License: MIT License Copyright (c) 2018 Fabio Caccamo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. URL: https://github.com/fabiocaccamo/django-treenode -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e9/2b/5341e4af9997269be52a5ba3a5598529f288efe76923497dffa08f691353/django-treenode-0.19.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/17/26/46b786dea15ae017a14ec68b58fb8944814726c60e2e789bb4d0ec0d915d/django-treenode-0.20.1.tar.gz BuildArch: noarch @@ -29,7 +29,7 @@ class CategoryAdmin(TreeNodeModelAdmin): admin.site.register(Category, CategoryAdmin) %package -n python3-django-treenode -Summary: django-treenode is probably the best abstract model / admin for your tree based stuff. +Summary: probably the best abstract model/admin for your tree based stuff. Provides: python-django-treenode BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -76,7 +76,7 @@ class CategoryAdmin(TreeNodeModelAdmin): admin.site.register(Category, CategoryAdmin) %prep -%autosetup -n django-treenode-0.19.0 +%autosetup -n django-treenode-0.20.1 %build %py3_build @@ -90,20 +90,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -116,5 +116,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.19.0-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.20.1-1 - Package Spec generated |
