diff --git a/pkgship-1.1.0.tar.gz b/pkgship-1.1.0.tar.gz index d7871eb..13ea9c3 100644 Binary files a/pkgship-1.1.0.tar.gz and b/pkgship-1.1.0.tar.gz differ diff --git a/pkgship.spec b/pkgship.spec index f14df8f..022423d 100755 --- a/pkgship.spec +++ b/pkgship.spec @@ -1,6 +1,6 @@ Name: pkgship Version: 1.1.0 -Release: 0 +Release: 1 Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so no. License: Mulan 2.0 URL: https://gitee.com/openeuler/openEuler-Advisor @@ -30,6 +30,7 @@ Pkgship implements rpm package dependence ,maintainer, patch query and so no. %check +# The apscheduler cannot catch the local time, so a time zone must be assigned before running the test case. export TZ=Asia/Shanghai # change log_path to solve default log_path permission denied problem log_path=`pwd`/tmp/ @@ -48,16 +49,17 @@ fi cd %{python3_sitelib}/packageship/ if [ -f "/usr/bin/pyinstaller" ]; then - /usr/bin/pyinstaller -F pkgship.py + path=/usr/bin/pyinstaller elif [ -f "/usr/local/bin/pyinstaller" ]; then - /usr/local/bin/pyinstaller -F pkgship.py + path=/usr/local/bin/pyinstaller else echo "pkship install fail,there is no pyinstaller!" exit fi +$path -F pkgship.py 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/ 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 -* Sat Aug 29 2020 Yiru Wang - 1.1.0-0 -- Add the RPM package life cycle and issue summary features, adding the requires +* Sat Aug 29 2020 Yiru Wang - 1.1.0-1 +- 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 - Fixed a problem with command line initialization of the Filepath parameter where relative paths are not supported and paths are too long