| |
@@ -7,27 +7,27 @@
|
| |
%bcond_with tests
|
| |
|
| |
# See notes in make_release which patches this.
|
| |
- ## global git_tag .fa1afe1
|
| |
+ ## global git_tag .f03e4e7
|
| |
|
| |
# Support jenkins build number if available.
|
| |
%global build_nr %(echo "${BUILD_NUMBER:+.}${BUILD_NUMBER:-%%{nil\\}}")
|
| |
|
| |
Name: fedora-review
|
| |
Version: 0.6.1
|
| |
- Release: 1%{?build_nr}%{?git_tag}%{?dist}
|
| |
+ Release: 5%{?build_nr}%{?git_tag}%{?dist}
|
| |
Summary: Review tool for fedora rpm packages
|
| |
|
| |
License: GPLv2+
|
| |
- URL: https://fedorahosted.org/FedoraReview/
|
| |
- Source0: https://fedorahosted.org/released/FedoraReview/%{name}-%{version}%{?git_tag}.tar.gz
|
| |
+ URL: https://pagure.io/FedoraReview
|
| |
+ Source0: https://releases.pagure.org/FedoraReview/%{name}-%{version}%{?git_tag}.tar.gz
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
- BuildRequires: python-argparse
|
| |
BuildRequires: python-BeautifulSoup
|
| |
BuildRequires: python-bugzilla
|
| |
+ BuildRequires: python-packaging
|
| |
BuildRequires: python-straight-plugin
|
| |
- %if 0%{?rhel} < 7
|
| |
+ %if 0%{?rhel} && 0%{?rhel} < 7
|
| |
BuildRequires: python-unittest2
|
| |
%endif
|
| |
BuildRequires: python2-devel
|
| |
@@ -35,10 +35,10 @@
|
| |
|
| |
Requires: packagedb-cli
|
| |
Requires: fedora-packager
|
| |
- Requires: python-argparse
|
| |
Requires: python-BeautifulSoup
|
| |
Requires: python-bugzilla
|
| |
Requires: python-kitchen
|
| |
+ Requires: python-packaging
|
| |
Requires: python-straight-plugin
|
| |
Requires: packagedb-cli
|
| |
Requires: rpm-python
|
| |
@@ -94,15 +94,15 @@
|
| |
|
| |
|
| |
%prep
|
| |
- %setup -q
|
| |
+ %autosetup -p 1
|
| |
|
| |
|
| |
%build
|
| |
- %{__python} setup.py --quiet build
|
| |
+ %py2_build
|
| |
|
| |
|
| |
%install
|
| |
- %{__python} setup.py --quiet install -O1 --skip-build --root $RPM_BUILD_ROOT
|
| |
+ %py2_install
|
| |
pkg_dir="$RPM_BUILD_ROOT/%{python_sitelib}/FedoraReview"
|
| |
ln -s %{_datadir}/%{name}/scripts $pkg_dir/scripts
|
| |
ln -s %{_datadir}/%{name}/plugins $pkg_dir/plugins
|
| |
@@ -119,16 +119,18 @@
|
| |
cd test
|
| |
export REVIEW_LOGLEVEL=warning
|
| |
export MAKE_RELEASE=1
|
| |
- mock --quiet -r fedora-21-i386 --init
|
| |
- mock --quiet -r fedora-20-i386 --init
|
| |
- mock --quiet -r fedora-21-i386 --uniqueext=hugo --init
|
| |
- python -m unittest discover -f
|
| |
+ mock --quiet -r fedora-25-i386 --init
|
| |
+ mock --quiet -r fedora-26-i386 --init
|
| |
+ mock --quiet -r fedora-26-i386 --uniqueext=hugo --init
|
| |
+ %{__python2} -m unittest discover -f
|
| |
%endif
|
| |
|
| |
|
| |
%files
|
| |
- %doc COPYING AUTHORS README
|
| |
- %{python_sitelib}/*
|
| |
+ %doc README
|
| |
+ %license COPYING AUTHORS
|
| |
+ %{python2_sitelib}/FedoraReview
|
| |
+ %{python2_sitelib}/fedora_review-%{version}-py%{python2_version}.egg-info
|
| |
%{_bindir}/fedora-review
|
| |
%{_bindir}/fedora-create-review
|
| |
%{_bindir}/koji-download-scratch
|
| |
@@ -150,8 +152,24 @@
|
| |
|
| |
|
| |
%changelog
|
| |
- * Tue May 12 2015 Alec Leamas <leamas.alec@gmail.com> - 0.6.1-1.fa1afe1
|
| |
- - Generic post-release entry.
|
| |
+
|
| |
+ * Fri Jun 02 2017 Björn Esser <besser82@fedoraproject.org> - 0.6.1-5
|
| |
+ - Add mock-option '--no-bootstrap-chroot' to defaults, if mock >= 1.4.1
|
| |
+ - Update spec file to recent guidelines
|
| |
+ - Change package url and source to Pagure
|
| |
+
|
| |
+ * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
| |
+
|
| |
+ * Thu Oct 06 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6.1-3
|
| |
+ - Drop requirement to python-argparse now that it has been in python's stdlib
|
| |
+ for so long
|
| |
+
|
| |
+ * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
| |
+ - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
| |
+
|
| |
+ * Mon May 02 2016 Alec Leamas <leamas.alec@gmail.com> - 0.6.1-1.f03e4e7
|
| |
+ - New upstream release 0.6.1
|
| |
|
| |
* Tue Feb 16 2016 Orion Poplawski <orion@cora.nwra.com> - 0.6.0-4
|
| |
- Exclude test content from perl requires
|
| |