diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/.DS_Store differ diff --git a/pkgship-1.0.tar.gz b/pkgship-1.0.tar.gz index c21e83b..f132006 100644 Binary files a/pkgship-1.0.tar.gz and b/pkgship-1.0.tar.gz differ diff --git a/pkgship.spec b/pkgship.spec old mode 100644 new mode 100755 index 860f362..d8780cf --- a/pkgship.spec +++ b/pkgship.spec @@ -1,6 +1,6 @@ Name: pkgship Version: 1.0 -Release: 4 +Release: 5.1 Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so no. License: Mulan 2.0 URL: https://gitee.com/openeuler/openEuler-Advisor @@ -8,6 +8,8 @@ Source0: https://gitee.com/openeuler/openEuler-Advisor/pkgship-%{version} BuildArch: noarch +BuildRequires: python3-flask-restful python3-flask python3 python3-pyyaml python3-sqlalchemy +BuildRequires: python3-prettytable python3-requests python3-flask-session python3-flask-script python3-marshmallow Requires: python3-pip python3-flask-restful python3-flask python3 python3-pyyaml Requires: python3-sqlalchemy python3-prettytable python3-requests Requires: python3-pyinstaller python3-flask-session python3-flask-script python3-marshmallow python3-uWSGI @@ -26,7 +28,11 @@ Pkgship implements rpm package dependence ,maintainer, patch query and so no. %check +# change log_path to solve default log_path permission denied problem +log_path=`pwd`/tmp/ +sed -i "/\[LOG\]/a\log_path=$log_path" test/common_files/package.ini %{__python3} -m unittest test/run_tests.py +rm -rf $log_path %post #build cli bin @@ -61,6 +67,13 @@ rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist %changelog + +* Wed Aug 12 2020 Zhang Tao - 1.0-5.1 +- Fix the test content to adapt to the new data structure, add BuildRequires for running %check + +* Mon Aug 10 2020 Zhengtang Gong - 1.0-5 +- Command line supports calling remote services + * Wed Aug 5 2020 Yiru Wang - 1.0-4 - change Requires rpm pakcages' name to latest one