[packages/Eyescale-CMake] - adjust python2 script shebang; release 2
qboosh
qboosh at pld-linux.org
Sun May 19 19:18:05 CEST 2024
commit ac2970038b213e74fdd095a689176e7a7241d8d5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 19 19:18:35 2024 +0200
- adjust python2 script shebang; release 2
Eyescale-CMake.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/Eyescale-CMake.spec b/Eyescale-CMake.spec
index ba125cb..b3d92ba 100644
--- a/Eyescale-CMake.spec
+++ b/Eyescale-CMake.spec
@@ -2,7 +2,7 @@ Summary: CMake common macros for Eyescale projects
Summary(pl.UTF-8): Wspólne makra CMake dla projektów Eyescale
Name: Eyescale-CMake
Version: 2018.02
-Release: 1
+Release: 2
License: BSD
Group: Development/Tools
#Source0Download: https://github.com/Eyescale/CMake/releases
@@ -10,6 +10,7 @@ Source0: https://github.com/Eyescale/CMake/archive/%{version}/%{name}-%{version}
# Source0-md5: 3c20d5ad6dbbe95ca1119ad36ae5f8e1
Patch0: libdir.patch
URL: https://github.com/Eyescale/CMake/
+BuildRequires: sed >= 4.0
Requires: cmake >= 2.8
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,6 +27,9 @@ Collage czy Equalizer).
%setup -q -n CMake-%{version}
%patch0 -p1
+# python2 script (uses e.g. dict iteritems(), itervalues() methods)
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' util/cpplint.py
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Eyescale-CMake.git/commitdiff/ac2970038b213e74fdd095a689176e7a7241d8d5
More information about the pld-cvs-commit
mailing list