rm old tar file
This commit is contained in:
parent
918132a366
commit
6d4001ab8d
Binary file not shown.
15
pkgship.spec
15
pkgship.spec
@ -1,6 +1,6 @@
|
|||||||
Name: pkgship
|
Name: pkgship
|
||||||
Version: 1.1.0
|
Version: 1.0.1
|
||||||
Release: 0
|
Release: 1
|
||||||
Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so no.
|
Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so no.
|
||||||
License: Mulan 2.0
|
License: Mulan 2.0
|
||||||
URL: https://gitee.com/openeuler/openEuler-Advisor
|
URL: https://gitee.com/openeuler/openEuler-Advisor
|
||||||
@ -48,8 +48,10 @@ fi
|
|||||||
|
|
||||||
cd %{python3_sitelib}/packageship/
|
cd %{python3_sitelib}/packageship/
|
||||||
if [ -f "/usr/bin/pyinstaller" ]; then
|
if [ -f "/usr/bin/pyinstaller" ]; then
|
||||||
|
path=/usr/bin/pyinstaller
|
||||||
/usr/bin/pyinstaller -F pkgship.py
|
/usr/bin/pyinstaller -F pkgship.py
|
||||||
elif [ -f "/usr/local/bin/pyinstaller" ]; then
|
elif [ -f "/usr/local/bin/pyinstaller" ]; then
|
||||||
|
path=/usr/local/bin/pyinstaller
|
||||||
/usr/local/bin/pyinstaller -F pkgship.py
|
/usr/local/bin/pyinstaller -F pkgship.py
|
||||||
else
|
else
|
||||||
echo "pkship install fail,there is no pyinstaller!"
|
echo "pkship install fail,there is no pyinstaller!"
|
||||||
@ -57,7 +59,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/hiddenimports\=\[\]/hiddenimports\=\['pkg_resources.py2_warn'\]/g" pkgship.spec
|
sed -i "s/hiddenimports\=\[\]/hiddenimports\=\['pkg_resources.py2_warn'\]/g" pkgship.spec
|
||||||
/usr/local/bin/pyinstaller pkgship.spec
|
$path pkgship.spec
|
||||||
cp dist/pkgship /usr/bin/
|
cp dist/pkgship /usr/bin/
|
||||||
rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist
|
rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist
|
||||||
|
|
||||||
@ -72,8 +74,11 @@ rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Aug 29 2020 Yiru Wang <wangyiru1@huawei.com> - 1.1.0-0
|
* Sat Aug 29 2020 Yiru Wang <wangyiru1@huawei.com> - 1.0.1-1
|
||||||
- Add the RPM package life cycle and issue summary features, adding the requires
|
- Add package management features:
|
||||||
|
RPM packages statically displayed in the version repository
|
||||||
|
RPM packages used time displayed for current version in the version repository
|
||||||
|
Issue management of packages in a version-management repository
|
||||||
|
|
||||||
* Fri Aug 21 2020 Chengqiang Bao < baochengqiang1@huawei.com > - 1.0.0-7
|
* Fri Aug 21 2020 Chengqiang Bao < baochengqiang1@huawei.com > - 1.0.0-7
|
||||||
- Fixed a problem with command line initialization of the Filepath parameter where relative paths are not supported and paths are too long
|
- Fixed a problem with command line initialization of the Filepath parameter where relative paths are not supported and paths are too long
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user