[gitifyhg] initial version

Dan Callaghan dcallagh at fedoraproject.org
Tue Jul 16 02:07:33 UTC 2013


commit cadfb3a16211b69ce77f03acc0a0cc54838962f1
Author: Dan Callaghan <dcallagh at redhat.com>
Date:   Fri May 31 09:58:16 2013 +1000

    initial version

 .gitignore    |    1 +
 gitifyhg.spec |   42 ++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cfa9a80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gitifyhg-0.8.2.tar.gz
diff --git a/gitifyhg.spec b/gitifyhg.spec
new file mode 100644
index 0000000..45c08eb
--- /dev/null
+++ b/gitifyhg.spec
@@ -0,0 +1,42 @@
+%global module_name gitifyhg
+
+Name:           gitifyhg
+Version:        0.8.2
+Release:        1%{?dist}
+Summary:        Use git as a client for Mercurial repos
+License:        GPLv3+
+URL:            https://github.com/buchuki/gitifyhg
+Source0:        http://pypi.python.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+Requires:       git
+Requires:       mercurial
+Requires:       python-path
+
+%description
+This git remote allows you to do local development in a git repository and push 
+changes to an upstream mercurial repository. It does this seamlessly and allows 
+pushing and pulling to named branches in the upstream repository.
+
+%prep
+%setup -q
+rm -r *.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+%files
+# XXX upstream ships no license
+%doc README.rst
+%{_bindir}/git-remote-gitifyhg
+%{python_sitelib}/%{module_name}
+%{python_sitelib}/%{module_name}*.egg-info
+
+%changelog
+* Fri May 31 2013 Dan Callaghan <dcallagh at redhat.com> - 0.8.2-1
+- initial version
diff --git a/sources b/sources
index e69de29..3186263 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0192b331214570cc9b83f182d90c2ffe  gitifyhg-0.8.2.tar.gz


More information about the scm-commits mailing list