Add the RPM package life cycle and issue summary features, adding the requires

This commit is contained in:
Yiru Wang Mac 2020-08-29 18:42:54 +08:00
parent 09d7c4f3f5
commit 9e26ae92ad
2 changed files with 10 additions and 4 deletions

BIN
pkgship-1.1.0.tar.gz Normal file

Binary file not shown.

14
pkgship.spec Executable file → Normal file
View File

@ -1,6 +1,6 @@
Name: pkgship
Version: 1.0.0
Release: 6
Version: 1.1.0
Release: 0
Summary: Pkgship implements rpm package dependence ,maintainer, patch query and so no.
License: Mulan 2.0
URL: https://gitee.com/openeuler/openEuler-Advisor
@ -13,6 +13,7 @@ BuildRequires: python3-prettytable python3-requests python3-flask-session python
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
Requires: python3-pandas python3-dateutil python3-XlsxWriter python3-xlrd python3-Flask-APScheduler python3-retrying
%description
Pkgship implements rpm package dependence ,maintainer, patch query and so no.
@ -28,7 +29,7 @@ Pkgship implements rpm package dependence ,maintainer, patch query and so no.
%check
# change log_path to solve default log_path permission denied problem
# 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
@ -60,13 +61,18 @@ rm -rf %{python3_sitelib}/packageship/build %{python3_sitelib}/packageship/dist
%files
%doc README.md
%doc README.md
%{python3_sitelib}/*
%config %{_sysconfdir}/pkgship/*
%attr(0755,root,root) %{_bindir}/pkgshipd
%changelog
* Sat Aug 29 2020 Yiru Wang <wangyiru1@huawei.com> - 1.1.0-0
- Add the RPM package life cycle and issue summary features, adding the requires
* 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
* Wed Aug 12 2020 Zhang Tao <zhangtao306@huawei.com> - 1.0.0-6
- Fix the test content to adapt to the new data structure, add BuildRequires for running %check