[packages/cjc] - adjust shebang for python2, release 2
qboosh
qboosh at pld-linux.org
Sun May 19 20:28:58 CEST 2024
commit 5f44a550690e7d8a92767783834561decf14c221
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 19 20:29:33 2024 +0200
- adjust shebang for python2, release 2
cjc.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cjc.spec b/cjc.spec
index 39276b8..8532cd4 100644
--- a/cjc.spec
+++ b/cjc.spec
@@ -2,7 +2,7 @@ Summary: Console Jabber Client
Summary(pl.UTF-8): CJC - konsolowy klient Jabbera
Name: cjc
Version: 1.2.1
-Release: 1
+Release: 2
Epoch: 1
License: GPL v2
Group: Applications/Communications
@@ -13,7 +13,8 @@ URL: https://github.com/Jajcus/cjc
BuildRequires: python >= 1:2.6
BuildRequires: python-modules >= 1:2.6
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.234
+BuildRequires: rpmbuild(macros) >= 1.745
+BuildRequires: sed >= 4.0
Requires: python-pyxmpp >= 1.1.2
Suggests: ca-certificates
Suggests: python-modules-sqlite >= 1:2.6
@@ -32,6 +33,8 @@ podobnym do tego znanego z popularnych klientów IRC.
%setup -q
%patch0 -p1
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' cjc.in cjc.py
+
%build
%{__make} \
prefix=%{_prefix}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cjc.git/commitdiff/5f44a550690e7d8a92767783834561decf14c221
More information about the pld-cvs-commit
mailing list