]> git.pld-linux.org Git - packages/reposurgeon.git/commitdiff
interpreter deps auto/th/reposurgeon-3.36-2
authorElan Ruusamäe <glen@delfi.ee>
Mon, 14 Mar 2016 06:34:34 +0000 (08:34 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 14 Mar 2016 06:34:34 +0000 (08:34 +0200)
manually verified that the interpreter can be changed, hence the patch
not sed form

reposurgeon.spec
shebangs.patch [new file with mode: 0644]

index 8c121535a92fa2b5bd19ca3b0c5e705112c87784..7eb5886ff96f719a7653285aa60cf996f0d787a9 100644 (file)
@@ -1,11 +1,12 @@
 Summary:       VCS repository manipulation tool
 Name:          reposurgeon
 Version:       3.36
-Release:       1
+Release:       2
 License:       BSD
 Group:         Development/Tools
 Source0:       http://www.catb.org/~esr/reposurgeon/%{name}-%{version}.tar.xz
 # Source0-md5: 6580579ec266d8ec3b2ed1fcbfa024d4
+Patch0:                shebangs.patch
 URL:           http://www.catb.org/~esr/reposurgeon/
 BuildRequires: asciidoc
 BuildRequires: docbook-dtd412-xml
@@ -29,6 +30,7 @@ high-quality conversions from Subversion to any supported DVCS.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make}
diff --git a/shebangs.patch b/shebangs.patch
new file mode 100644 (file)
index 0000000..65b99e0
--- /dev/null
@@ -0,0 +1,40 @@
+--- reposurgeon-3.36/repocutter        2016-02-28 12:56:42.000000000 +0200
++++ reposurgeon-3.36.bang/repocutter   2016-03-14 08:32:32.220361319 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+ #
+ # Hacked together by ESR, October 2009. New BSD license applies.
+ # The Subversion project is explicitly granted permission to redistribute
+--- reposurgeon-3.36/repodiffer        2016-02-24 22:16:16.000000000 +0200
++++ reposurgeon-3.36.bang/repodiffer   2016-03-14 08:32:32.223694825 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+ #
+ # Compare git repositories or fast-import streams for differences.
+ #
+--- reposurgeon-3.36/repomapper        2016-02-28 14:45:01.000000000 +0200
++++ reposurgeon-3.36.bang/repomapper   2016-03-14 08:32:32.223694825 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python3
++#!/usr/bin/python2
+ # SPDX-License-Identifier: BSD-2-Clause
+ """
+ repomapper - update and manipulate contributor maps
+--- reposurgeon-3.36/reposurgeon       2016-03-13 15:09:13.000000000 +0200
++++ reposurgeon-3.36.bang/reposurgeon  2016-03-14 08:32:32.240362353 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+ #
+ # reposurgeon - a repository surgeon.
+ #
+--- reposurgeon-3.36/repotool  2016-01-22 20:25:24.000000000 +0200
++++ reposurgeon-3.36.bang/repotool     2016-03-14 08:32:58.058363173 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # repotool - query and manipulate multiple repository types in a uniform way.
+ #
This page took 0.079526 seconds and 4 git commands to generate.