rpms/hgsvn/F-7 hgsvn.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Mon Jan 28 18:08:07 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/hgsvn/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29843

Modified Files:
	.cvsignore sources 
Added Files:
	hgsvn.spec 
Log Message:
Importing hgsvn.




--- NEW FILE hgsvn.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}

Summary:       A set of scripts to work locally on subversion checkouts using mercurial
Name:          hgsvn
Version:       0.1.5
Release:       2%{?dist}
License:       GPLv3+
Group:         Development/Tools
URL  :         http://pypi.python.org/pypi/%{name}/
Source0:       http://pypi.python.org/packages/source/h/%{name}/%{name}-%{version}.tar.gz
BuildArch:     noarch
Requires:      mercurial subversion
BuildRequires: python-devel
# Needed in %%check 
BuildRequires: mercurial python-nose subversion
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
This set of scripts allows to work locally on subversion managed
projects using the mercurial distributed version control system.

Why use mercurial? You can do local (disconnected) work, pull the
latest changes from the subversion server, manage private branches,
submit patches to project maintainers, etc. And of course you have
fast local operations like hg log and hg annotate.

%prep
%setup -q

%build
CFLAGS="%{optflags}" %{__python} setup.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

%clean
%{__rm} -rf %{buildroot}

%check
%{__python} setup.py test

%files
%defattr(-, root, root, -)
%doc AUTHORS.txt COPYING.txt README.txt TODO.txt
%{_bindir}/hgimportsvn
%{_bindir}/hgpullsvn
%{python_sitelib}/%{name}
%{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info

%changelog
* Sun Jan 27 2008 Terje Rosten <terje.rosten at ntnu.no> - 0.1.5-2
- Add %%check section and build req as needed
- Add req on mercurial and subversion

* Fri Jan 25 2008 Terje Rosten <terje.rosten at ntnu.no> - 0.1.5-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/hgsvn/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Jan 2008 16:08:37 -0000	1.1
+++ .cvsignore	28 Jan 2008 18:07:32 -0000	1.2
@@ -0,0 +1 @@
+hgsvn-0.1.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/hgsvn/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Jan 2008 16:08:37 -0000	1.1
+++ sources	28 Jan 2008 18:07:32 -0000	1.2
@@ -0,0 +1 @@
+dcf9a1ee1f566ea9b2602cfc300ddcf8  hgsvn-0.1.5.tar.gz




More information about the fedora-extras-commits mailing list