diff options
author | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2012-02-08 16:40:02 -0700 |
---|---|---|
committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2012-02-08 16:40:02 -0700 |
commit | e865967fed28d417cd14d3f5355ba445e7f4f585 (patch) | |
tree | dab0f345c81b4820ba92323f499f084c0fa228ce /git-review.spec | |
parent | 46afb7d5fe0e899c315adbc4210083afd811f733 (diff) |
Initial import into SCM, approved SRPM 1.12-2, review bz#772751.
Diffstat (limited to 'git-review.spec')
-rw-r--r-- | git-review.spec | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/git-review.spec b/git-review.spec new file mode 100644 index 0000000..3bff1a6 --- /dev/null +++ b/git-review.spec @@ -0,0 +1,87 @@ +Name: git-review +Version: 1.12 +Release: 2%{?dist} +Summary: A git helper for integration with Gerrit + +Group: Development/Tools +License: ASL 2.0 +URL: https://github.com/openstack-ci/git-review +# Source URL is https://github.com/openstack-ci/git-review/tarball/{version}, +# which produces Content-Disposition: attachment; filename=XXXXXX.tar.gz. +# But wait! The extracted directory name is different from tarball name. +Source0: openstack-ci-git-review-1.12-0-ge852960.tar.gz +Source1: git-review.conf + +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools + +Requires: git + +%description +An extension for source control system git that creates and manages review +requests in the patch management system Gerrit. It replaces the rfc.sh script. + +%prep +%setup -q -n openstack-ci-git-review-019ee11 + +%build +%{__python} setup.py build +sed -i 's/\r//' LICENSE + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + +mkdir -p %{buildroot}%{_sysconfdir}/git-review/ +cp %{SOURCE1} %{buildroot}%{_sysconfdir}/git-review/ + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{_bindir}/git-review +%{_mandir}/man1/git-review.1.gz +# Our package name is git-review, but setup.py installs with underscore. +#{python_sitelib}/#{name}-#{version}-*.egg-info/ +%{python_sitelib}/git_review-%{version}-*.egg-info/ +%dir %{_sysconfdir}/git-review/ +%config(noreplace) %{_sysconfdir}/git-review/git-review.conf +# License is required in percent-doc according to Packaging:LicensingGuidelines +%doc AUTHORS LICENSE +# How about transforming README.md into HTML or something? +%doc README.md + +%changelog +* Tue Feb 7 2012 Pete Zaitcev <zaitcev@redhat.com> +- 1.12-2 +- Update with Rob Kukura's review comments: drop python_sitelib etc. + +* Tue Jan 31 2012 Pete Zaitcev <zaitcev@redhat.com> +- 1.12-1 +- Use upstream way to disable checking for updates; no more patching + +* Wed Jan 18 2012 Pete Zaitcev <zaitcev@redhat.com> +- 1.9-4 +- Strip CR characters from LICENSE at build time + +* Tue Jan 17 2012 Pete Zaitcev <zaitcev@redhat.com> +- 1.9-3 +- Update for Fedora packaging review + +* Mon Jan 9 2012 Pete Zaitcev <zaitcev@redhat.com> +- 1.9-2 +- Disable checking PyPi by default, add option -P to force it. + +* Wed Jan 4 2012 Pete Zaitcev <zaitcev@redhat.com> +- 1.9-1 + +* Fri Dec 30 2011 Pete Zaitcev <zaitcev@redhat.com> +- 1.8-1 +- New upstream version +- Build from original upstream tarball, do not repack + +* Sat Dec 24 2011 Pete Zaitcev <zaitcev@redhat.com> +- 1.7-1 +- Initial spec for Fedora |