Changing the binary packing mode
This commit is contained in:
parent
ade17bf1ea
commit
d3a969eeb2
@ -8,7 +8,7 @@ to use, what-you-see-is-what-you-get plaintext markup language.
|
||||
|
||||
Name: python-docutils
|
||||
Version: 0.17.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
|
||||
License: Public Domain and BSD-2-Clause and Python and GPL-3.0-or-later
|
||||
URL: http://docutils.sourceforge.net
|
||||
@ -54,17 +54,16 @@ fi
|
||||
if [ -d usr/lib64 ]; then
|
||||
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
|
||||
fi
|
||||
if [ -d usr/sbin ]; then
|
||||
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
|
||||
fi
|
||||
popd
|
||||
for file in %{buildroot}%{_bindir}/*.py;do
|
||||
mv $file $(dirname $file)/$(basename $file .py)
|
||||
done
|
||||
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
@ -73,6 +72,7 @@ python3 test/alltests.py
|
||||
|
||||
%files -n python3-docutils -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
%{_bindir}/rst*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
@ -80,6 +80,9 @@ python3 test/alltests.py
|
||||
%license COPYING.txt licenses/*.txt
|
||||
|
||||
%changelog
|
||||
* Thu Jan 12 2023 yanglongkang <yanglongkang@h-partners.com> - 0.17.1-2
|
||||
- Changing the binary packing mode
|
||||
|
||||
* Mon Dec 19 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.17.1-1
|
||||
- Update package to version 0.17.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user