|
Stanislav Ochotnicky |
562f8c0 |
Name: fedora-review
|
|
Stanislav Ochotnicky |
6008662 |
Version: 0.3.1
|
|
|
9cbf0b3 |
Release: 3%{?dist}
|
|
Stanislav Ochotnicky |
562f8c0 |
Summary: Review tool for fedora rpm packages
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
License: GPLv2+
|
|
Stanislav Ochotnicky |
562f8c0 |
URL: https://fedorahosted.org/FedoraReview/
|
|
Stanislav Ochotnicky |
562f8c0 |
Source0: https://fedorahosted.org/released/FedoraReview/%{name}-%{version}.tar.gz
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
BuildArch: noarch
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
f71eb38 |
BuildRequires: python-BeautifulSoup
|
|
Stanislav Ochotnicky |
f71eb38 |
BuildRequires: python-bugzilla
|
|
Stanislav Ochotnicky |
f71eb38 |
BuildRequires: python-straight-plugin
|
|
Stanislav Ochotnicky |
f7d730d |
BuildRequires: python2-devel
|
|
Stanislav Ochotnicky |
f7d730d |
BuildRequires: rpm-python
|
|
Stanislav Ochotnicky |
6008662 |
BuildRequires: python-argparse
|
|
Stanislav Ochotnicky |
f7d730d |
|
|
Stanislav Ochotnicky |
f7d730d |
Requires: fedora-packager
|
|
Stanislav Ochotnicky |
f71eb38 |
Requires: python-BeautifulSoup
|
|
Stanislav Ochotnicky |
f7d730d |
Requires: python-bugzilla
|
|
Stanislav Ochotnicky |
f71eb38 |
Requires: python-kitchen
|
|
Stanislav Ochotnicky |
f7d730d |
Requires: python-straight-plugin
|
|
Stanislav Ochotnicky |
f7d730d |
Requires: rpm-python
|
|
Stanislav Ochotnicky |
f71eb38 |
Requires: rpmdevtools
|
|
Stanislav Ochotnicky |
6008662 |
Requires: python-argparse
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
f7d730d |
# Let's be consistent with the name used on fedorahosted
|
|
Stanislav Ochotnicky |
f7d730d |
provides: FedoraReview = %{version}-%{release}
|
|
Stanislav Ochotnicky |
f7d730d |
|
|
|
9cbf0b3 |
Patch0: 0001-Handle-multiline-envvars-correct-bz-874246.patch
|
|
|
9cbf0b3 |
|
|
Stanislav Ochotnicky |
f7d730d |
|
|
Stanislav Ochotnicky |
562f8c0 |
%description
|
|
Stanislav Ochotnicky |
562f8c0 |
This tool automates much of the dirty work when reviewing a package
|
|
Stanislav Ochotnicky |
6008662 |
for the Fedora Package Collection like:
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
6008662 |
* Downloading SRPM & SPEC.
|
|
Stanislav Ochotnicky |
562f8c0 |
* Download upstream source
|
|
Stanislav Ochotnicky |
562f8c0 |
* Check md5sums
|
|
Stanislav Ochotnicky |
6008662 |
* Build and install package in mock.
|
|
Stanislav Ochotnicky |
6008662 |
* Run rpmlint.
|
|
Stanislav Ochotnicky |
6008662 |
* Generate a review template, which becomes the starting
|
|
Stanislav Ochotnicky |
6008662 |
point for the review work.
|
|
Stanislav Ochotnicky |
6008662 |
|
|
Stanislav Ochotnicky |
6008662 |
The tool is composed of a plugins, one for each supported language.
|
|
Stanislav Ochotnicky |
6008662 |
As of today, there is plugins for C/C++, Ruby, java, R, perl and
|
|
Stanislav Ochotnicky |
6008662 |
python. There is also support for external tests that can be written
|
|
Stanislav Ochotnicky |
6008662 |
in a simple way in bash.
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
%prep
|
|
Stanislav Ochotnicky |
562f8c0 |
%setup -q
|
|
Stanislav Ochotnicky |
562f8c0 |
chmod -x api/examples/*
|
|
|
182472e |
|
|
|
182472e |
%patch0 -p1 -b . -F1
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
%build
|
|
Stanislav Ochotnicky |
f7d730d |
%{__python} setup.py build
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
%install
|
|
Stanislav Ochotnicky |
f7d730d |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
6008662 |
ln -s %{_datadir}/%{name}/plugins \
|
|
Stanislav Ochotnicky |
6008662 |
%{buildroot}%{python_sitelib}/FedoraReview/plugins
|
|
Stanislav Ochotnicky |
33b778c |
ln -s %{_datadir}/%{name}/scripts \
|
|
Stanislav Ochotnicky |
33b778c |
%{buildroot}%{python_sitelib}/FedoraReview/scripts
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
%files
|
|
Stanislav Ochotnicky |
562f8c0 |
%doc COPYING AUTHORS TODO README api
|
|
Stanislav Ochotnicky |
562f8c0 |
%{python_sitelib}/*
|
|
Stanislav Ochotnicky |
562f8c0 |
%{_bindir}/fedora-review
|
|
Stanislav Ochotnicky |
9e89a97 |
%{_bindir}/fedora-create-review
|
|
Stanislav Ochotnicky |
922ef72 |
%{_bindir}/koji-download-scratch
|
|
Stanislav Ochotnicky |
562f8c0 |
%{_mandir}/man1/%{name}.1.*
|
|
Stanislav Ochotnicky |
9e89a97 |
%{_mandir}/man1/fedora-create-review.1.*
|
|
Stanislav Ochotnicky |
562f8c0 |
%dir %{_datadir}/%{name}
|
|
Stanislav Ochotnicky |
6008662 |
%{_datadir}/%{name}/plugins
|
|
Stanislav Ochotnicky |
6008662 |
%{_datadir}/%{name}/scripts
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
%changelog
|
|
|
9cbf0b3 |
* Wed Nov 07 2012 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.3.1-3
|
|
|
9cbf0b3 |
- Backport from upstream's git fix to RHBZ#874246 (Patch0)
|
|
|
9cbf0b3 |
|
|
Stanislav Ochotnicky |
33b778c |
* Thu Oct 25 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.3.1-2
|
|
Stanislav Ochotnicky |
33b778c |
- Add symlink to scripts directory so they are loaded
|
|
Stanislav Ochotnicky |
33b778c |
|
|
Stanislav Ochotnicky |
6008662 |
* Tue Sep 25 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.3.1-1
|
|
Stanislav Ochotnicky |
6008662 |
- Update to lastest upstream (0.3.1)
|
|
Stanislav Ochotnicky |
6008662 |
- Fix loading of system-wide plugins
|
|
Stanislav Ochotnicky |
6008662 |
- Add back suport for EL6
|
|
Stanislav Ochotnicky |
6008662 |
|
|
Stanislav Ochotnicky |
f7d730d |
* Mon Sep 24 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.3.0-1
|
|
Stanislav Ochotnicky |
f7d730d |
- Update to lastest upstream (0.3.0)
|
|
Stanislav Ochotnicky |
f7d730d |
- Remove no longer needed build workarounds
|
|
Stanislav Ochotnicky |
f7d730d |
|
|
Stanislav Ochotnicky |
922ef72 |
* Thu Aug 9 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.2-1
|
|
Stanislav Ochotnicky |
922ef72 |
- Update to lastest upstream (0.2.2)
|
|
Stanislav Ochotnicky |
922ef72 |
- Add koji-download-scratch script
|
|
Stanislav Ochotnicky |
922ef72 |
|
|
|
1020293 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
|
|
|
1020293 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1020293 |
|
|
Stanislav Ochotnicky |
f71eb38 |
* Wed Jul 11 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-1
|
|
Stanislav Ochotnicky |
f71eb38 |
- Update to latest release (0.2.0)
|
|
Stanislav Ochotnicky |
f71eb38 |
|
|
Stanislav Ochotnicky |
883e4c9 |
* Fri Feb 24 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1.3-1
|
|
Stanislav Ochotnicky |
883e4c9 |
- Update to latest bugfix release
|
|
Stanislav Ochotnicky |
883e4c9 |
|
|
Stanislav Ochotnicky |
9e89a97 |
* Fri Jan 13 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1.2-1
|
|
Stanislav Ochotnicky |
9e89a97 |
- Update to latest bugfix release
|
|
Stanislav Ochotnicky |
9e89a97 |
- Add fedora-create-review script
|
|
Stanislav Ochotnicky |
9e89a97 |
|
|
|
cbd2874 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
|
|
|
cbd2874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
cbd2874 |
|
|
|
1f5a2f1 |
* Wed Jan 11 2012 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.1-2
|
|
|
1f5a2f1 |
- Add wget as requires
|
|
|
1f5a2f1 |
|
|
Stanislav Ochotnicky |
eab9bf6 |
* Wed Nov 23 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1.1-1
|
|
Stanislav Ochotnicky |
eab9bf6 |
- New upstream bugfix release
|
|
Stanislav Ochotnicky |
eab9bf6 |
|
|
Stanislav Ochotnicky |
562f8c0 |
* Wed Nov 16 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1.0-2
|
|
Stanislav Ochotnicky |
562f8c0 |
- Remove things not needed in el6+
|
|
Stanislav Ochotnicky |
562f8c0 |
|
|
Stanislav Ochotnicky |
562f8c0 |
* Thu Nov 10 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.0-1
|
|
Stanislav Ochotnicky |
562f8c0 |
- Initial packaging work for Fedora
|