rpms/tailor/F-7 tailor-test.patch, NONE, 1.1 tailor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Wed Jul 4 11:18:26 UTC 2007


Author: sharkcz

Update of /cvs/pkgs/rpms/tailor/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14306

Modified Files:
	.cvsignore sources 
Added Files:
	tailor-test.patch tailor.spec 
Log Message:
 - initial import

tailor-test.patch:

--- NEW FILE tailor-test.patch ---
--- tailor.orig	2007-06-27 21:28:22.000000000 +0200
+++ tailor	2007-06-27 21:31:14.000000000 +0200
@@ -21,10 +21,7 @@
 
     locale.setlocale(locale.LC_CTYPE, '')
     if len(sys.argv)>1 and sys.argv[1] == 'test':
-        from vcpx.tests import main
-        sys.argv[0] += " test"
-        del sys.argv[1]
-        main()
+            print "Running tests is not possible on installed package"
     else:
         from vcpx.tailor import main, TailorException
 


--- NEW FILE tailor.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Summary:	A tool to migrate changesets between several version control systems
Name:		tailor
Version:	0.9.28
Release:	3%{?dist}
Source0:	http://darcs.arstecnica.it/%{name}-%{version}.tar.gz
License:	GPL
Group:		Development/Tools
Url:		http://progetti.arstecnica.it/tailor
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?fedora} <= 6
BuildRequires:	python
%else
BuildRequires:	python-devel
%endif
Requires:	python-vcpx = %{version}-%{release}
BuildArch:	noarch
Patch:		tailor-test.patch

%description
Tailor is a tool to migrate changesets between CVS, Subversion, git,
darcs, monotone, Codeville, Mercurial and Baazar-NG repositories.

This script makes it easier to keep the upstream changes merged in
a branch of a product, storing needed information such as the upstream
URI and revision in special properties on the branched directory.

%package -n python-vcpx
Summary:	Version Control Patch eXchanger
Group:		Development/Libraries
Requires:	cvs, subversion, mercurial, cogito, monotone, darcs, tla, bazaar

%description -n python-vcpx
This is the package `vcpx` (pronounced "veeseepex").  It encapsulates
the machinery needed to keep the patches in sync across different VC
systems.


%prep
%setup -q 
%patch0

# remove the shebang line
sed -i -e '1d' vcpx/repository/p4/p4lib.py

%build
# nothing to do

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root,0755)
%doc README.html
%{_bindir}/%{name}

%files -n python-vcpx
%defattr(-,root,root,0755)
%{python_sitelib}/vcpx

%changelog
* Thu Jun 28 2007 Dan Horak <dan[at]danny.cz> 0.9.28-3
- remove the shebang line from a non-excutable script

* Wed Jun 27 2007 Dan Horak <dan[at]danny.cz> 0.9.28-2
- disable running tests on installed package

* Sat Apr 28 2007 Dan Horak <dan[at]danny.cz> 0.9.28-1
- update to upstream version 0.9.28

* Wed Jan  3 2007 Dan Horak <dan[at]danny.cz> 0.9.27-1
- update to upstream version 0.9.27

* Sat Nov 11 2006 Dan Horak <dan[at]danny.cz> 0.9.26-1
- update to upstream version 0.9.26
- spec file based on atrpms


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tailor/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Jul 2007 15:14:33 -0000	1.1
+++ .cvsignore	4 Jul 2007 11:17:50 -0000	1.2
@@ -0,0 +1 @@
+tailor-0.9.28.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tailor/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Jul 2007 15:14:33 -0000	1.1
+++ sources	4 Jul 2007 11:17:50 -0000	1.2
@@ -0,0 +1 @@
+82033c16e895d51ae5893def06c59d29  tailor-0.9.28.tar.gz




More information about the scm-commits mailing list