[git-review] Initial import into SCM, approved SRPM 1.12-2, review bz#772751.

Pete Zaitcev zaitcev at fedoraproject.org
Thu Feb 9 00:10:45 UTC 2012


commit e865967fed28d417cd14d3f5355ba445e7f4f585
Author: Pete Zaitcev <zaitcev at kotori.zaitcev.us>
Date:   Wed Feb 8 16:40:02 2012 -0700

    Initial import into SCM, approved SRPM 1.12-2, review bz#772751.

 .gitignore      |    1 +
 git-review.conf |    2 +
 git-review.spec |   87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 4 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..986a5e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openstack-ci-git-review-1.12-0-ge852960.tar.gz
diff --git a/git-review.conf b/git-review.conf
new file mode 100644
index 0000000..c247631
--- /dev/null
+++ b/git-review.conf
@@ -0,0 +1,2 @@
+[updates]
+check=off
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 at redhat.com>
+- 1.12-2
+- Update with Rob Kukura's review comments: drop python_sitelib etc.
+
+* Tue Jan 31 2012 Pete Zaitcev <zaitcev at redhat.com>
+- 1.12-1
+- Use upstream way to disable checking for updates; no more patching
+
+* Wed Jan 18 2012 Pete Zaitcev <zaitcev at redhat.com>
+- 1.9-4
+- Strip CR characters from LICENSE at build time
+
+* Tue Jan 17 2012 Pete Zaitcev <zaitcev at redhat.com>
+- 1.9-3
+- Update for Fedora packaging review
+
+* Mon Jan 9 2012 Pete Zaitcev <zaitcev at redhat.com>
+- 1.9-2
+- Disable checking PyPi by default, add option -P to force it.
+
+* Wed Jan 4 2012 Pete Zaitcev <zaitcev at redhat.com>
+- 1.9-1
+
+* Fri Dec 30 2011 Pete Zaitcev <zaitcev at redhat.com>
+- 1.8-1
+- New upstream version
+- Build from original upstream tarball, do not repack
+
+* Sat Dec 24 2011 Pete Zaitcev <zaitcev at redhat.com>
+- 1.7-1
+- Initial spec for Fedora
diff --git a/sources b/sources
index e69de29..e41348f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+670cfc746326275af179a717db2ab653  openstack-ci-git-review-1.12-0-ge852960.tar.gz


More information about the scm-commits mailing list