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.0.tar.gz b/pkgship-1.0.0.tar.gz deleted file mode 100644 index 732fe61..0000000 Binary files a/pkgship-1.0.0.tar.gz and /dev/null differ diff --git a/pkgship-1.1.0.tar.gz b/pkgship-1.1.0.tar.gz index 3efb4a0..d7871eb 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 old mode 100644 new mode 100755 index 371dc5f..f14df8f --- a/pkgship.spec +++ b/pkgship.spec @@ -10,7 +10,7 @@ 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 -BuildRequires: python3-pandas python3-dateutil python3-XlsxWriter python3-xlrd python3-Flask-APScheduler python3-retrying +BuildRequires: python3-Flask-APScheduler python3-pandas python3-retrying python3-xlrd python3-XlsxWriter 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 @@ -30,10 +30,13 @@ Pkgship implements rpm package dependence ,maintainer, patch query and so no. %check +export TZ=Asia/Shanghai # 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 +%{__python3} -m unittest test/init_test.py +%{__python3} -m unittest test/read_test.py +%{__python3} -m unittest test/write_test.py rm -rf $log_path %post