[packages/ruby-mustache] Up to 1.1.2

arekm arekm at pld-linux.org
Sat Mar 28 00:13:21 CET 2026


commit 5dda04f5ed31af170654d5f2986413ef262d24b2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 28 00:13:09 2026 +0100

    Up to 1.1.2

 ruby-mustache-shebang.patch |  8 ++++++++
 ruby-mustache.spec          | 10 +++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/ruby-mustache.spec b/ruby-mustache.spec
index e205fab..434c4d3 100644
--- a/ruby-mustache.spec
+++ b/ruby-mustache.spec
@@ -2,12 +2,13 @@
 Summary:	Logic-less templates
 Summary(pl.UTF-8):	Szablony bez logiki
 Name:		ruby-%{pkgname}
-Version:	1.1.1
-Release:	2
+Version:	1.1.2
+Release:	1
 License:	MIT
 #Source0Download: https://github.com/mustache/mustache/releases
 Source0:	https://github.com/mustache/mustache/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	73be40dd1b7a1fefe06dbf94845aac01
+# Source0-md5:	79dbdade40f91a8c8541aa9a1f1bd608
+Patch0:		%{name}-shebang.patch
 Group:		Development/Languages
 URL:		http://mustache.github.io/
 BuildRequires:	rpm-rubyprov
@@ -79,8 +80,7 @@ Dokumentacji w formacie ri dla pakietu %{pkgname}.
 
 %prep
 %setup -q -n mustache-%{version}
-
-%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+%patch -P0 -p1
 
 %build
 # make gemspec self-contained
diff --git a/ruby-mustache-shebang.patch b/ruby-mustache-shebang.patch
new file mode 100644
index 0000000..b60f882
--- /dev/null
+++ b/ruby-mustache-shebang.patch
@@ -0,0 +1,8 @@
+--- mustache-1.1.2/bin/mustache.orig	2024-01-01 00:00:00.000000000 +0000
++++ mustache-1.1.2/bin/mustache	2024-01-01 00:00:00.000000000 +0000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env ruby
++#!/usr/bin/ruby
+
+ require 'yaml'
+ require 'optparse'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-mustache.git/commitdiff/5dda04f5ed31af170654d5f2986413ef262d24b2



More information about the pld-cvs-commit mailing list