diff --git a/.gitignore b/.gitignore index 323de27..85116ae 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /copr-cli-1.32.tar.gz /copr-cli-1.33.tar.gz /copr-cli-1.35.tar.gz +/copr-cli-1.41.tar.gz diff --git a/copr-cli.spec b/copr-cli.spec index 55d2e08..68405f7 100644 --- a/copr-cli.spec +++ b/copr-cli.spec @@ -4,7 +4,7 @@ %endif Name: copr-cli -Version: 1.35 +Version: 1.41 Release: 1%{?dist} Summary: Command line interface for COPR @@ -22,17 +22,15 @@ BuildRequires: asciidoc BuildRequires: libxslt BuildRequires: util-linux BuildRequires: python-setuptools -BuildRequires: python-requests BuildRequires: python2-devel +BuildRequires: python-copr %if 0%{?rhel} < 7 && 0%{?rhel} > 0 BuildRequires: python-argparse %endif -#for doc package -BuildRequires: epydoc -BuildRequires: graphviz -Requires: python-requests Requires: python-setuptools +Requires: python-copr +Requires: wget %if 0%{?rhel} < 7 && 0%{?rhel} > 0 Requires: python-argparse %endif @@ -60,42 +58,70 @@ only. %build +%{__python2} setup.py build + mv copr_cli/README.rst ./ # convert manages a2x -d manpage -f manpage man/copr-cli.1.asciidoc -%if 0%{?fedora} -# build documentation -pushd documentation -make %{?_smp_mflags} python -popd -%endif - %install install -d %{buildroot}%{_pkgdocdir}/ -%{__python2} coprcli-setup.py install --root %{buildroot} +%{__python2} setup.py install --root %{buildroot} + +ln -sf %{_bindir}/copr-cli %{buildroot}%{_bindir}/copr + install -d %{buildroot}%{_mandir}/man1 install -p -m 644 man/copr-cli.1 %{buildroot}/%{_mandir}/man1/ - -#doc -%if 0%{?fedora} -cp -a documentation/python-doc %{buildroot}%{_pkgdocdir}/ -%endif +install -p man/copr.1 %{buildroot}/%{_mandir}/man1/ %files %doc LICENSE README.rst %{_bindir}/copr-cli %{python_sitelib}/* %{_mandir}/man1/copr-cli.1* +%{_mandir}/man1/copr.1* +%{_bindir}/copr + %if 0%{?fedora} %files doc %doc LICENSE -%doc %{_pkgdocdir}/python-doc %endif %changelog +* Mon Dec 15 2014 Valentin Gologuzov 1.41-1 +- control auto_createrepo property of project through API + and copr-cli; new command supported by cli: **modify** + +* Fri Nov 21 2014 Valentin Gologuzov 1.40-1 +- updated to use newer version of python-copr +- minor changes in commands output +- print debug logs only when user provides "--debug" option + +* Mon Oct 20 2014 Miroslav Suchý 1.39-1 +- add man page for copr(1) +- [cli] [RHBZ: #1149889] RFE: download command in copr-cli +- A few fixes for CI + +* Tue Oct 07 2014 Valentin Gologuzov 1.38-1 +- [cli] Added symlink for executable: copr -> copr-cli +- [cli] removed epydoc documentation +- [python-copr, cli] test coverage +- [python-copr, cli] updating copr-cli to use python-copr + +* Thu Sep 18 2014 Miroslav Suchý 1.37-1 +- [python-copr] Renamed package: python-copr-client -> python-copr +- [cli] In case of missing config show proper message, hide traceback. +- [python-client] added a few unittest, changed package layout, updated .spec + to run tests during %%check. [copr-cli] reflected changes in python-client +- [python-copr,copr-cli] fixing, cleanup +- [python-copr,copr-cli] Copr-cli now uses python-copr-cli package. [copr-cli] + updated .spec to reflect usage of python-copr-client + +* Tue Jul 22 2014 Miroslav Suchý 1.36-1 +- use correct name of variable + * Fri Jul 04 2014 Miroslav Suchý 1.35-1 - [cli] stop waiting when the status is unknown diff --git a/sources b/sources index 2eb300d..80bb111 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ad86b0607660f2ae5add81b2c6bb4f04 copr-cli-1.35.tar.gz +deeabac0be8cdd01da53d22bcb606a8b copr-cli-1.41.tar.gz