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
|
Name: python-docutils
|
||||||
Version: 0.17.1
|
Version: 0.17.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Documentation Utilities Written in Python, for General- and Special-Purpose Use
|
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
|
License: Public Domain and BSD-2-Clause and Python and GPL-3.0-or-later
|
||||||
URL: http://docutils.sourceforge.net
|
URL: http://docutils.sourceforge.net
|
||||||
@ -54,17 +54,16 @@ fi
|
|||||||
if [ -d usr/lib64 ]; then
|
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
|
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
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
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
|
fi
|
||||||
popd
|
popd
|
||||||
|
for file in %{buildroot}%{_bindir}/*.py;do
|
||||||
|
mv $file $(dirname $file)/$(basename $file .py)
|
||||||
|
done
|
||||||
|
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
@ -73,6 +72,7 @@ python3 test/alltests.py
|
|||||||
|
|
||||||
%files -n python3-docutils -f filelist.lst
|
%files -n python3-docutils -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
%{_bindir}/rst*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
@ -80,6 +80,9 @@ python3 test/alltests.py
|
|||||||
%license COPYING.txt licenses/*.txt
|
%license COPYING.txt licenses/*.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 19 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.17.1-1
|
||||||
- Update package to version 0.17.1
|
- Update package to version 0.17.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user