!10 Add newlinein nspkg.pth to avoid overrunning the line buffer
From: @caodongxia Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
00f9d2b00b
@ -1,7 +1,7 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-XStatic
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: XStatic base package with minimal support code
|
||||
License: MIT
|
||||
URL: https://github.com/xstatic-py/xstatic
|
||||
@ -89,6 +89,7 @@ fi
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
sed -i '3 s/import sys, types, os;/import sys, types, os;\n/' %{buildroot}/%{python3_sitelib}/XStatic-%{version}-py%{python3_version}-nspkg.pth
|
||||
|
||||
%files -n python3-XStatic -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
@ -97,5 +98,8 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 17 2022 caodongxia <caodongxia@huawei.com> - 1.0.2-2
|
||||
- Add newline in nspkg.pth to avoid overrunning the line buffer
|
||||
|
||||
* Fri Jan 29 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user