From 6d2436f1afca5250ea879e2cb42ba93649d0d7bc Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Tue, 17 Dec 2024 10:32:02 +0800 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) --- coffee-script.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/coffee-script.spec b/coffee-script.spec index 94f73dd..a52cbd4 100644 --- a/coffee-script.spec +++ b/coffee-script.spec @@ -2,7 +2,7 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: coffee-script Version: 1.10.0 -Release: 1 +Release: 2 Summary: A programming language that transcompiles to JavaScript License: MIT URL: http://coffeescript.org/ @@ -45,7 +45,7 @@ The documentation for the CoffeeScript programming language. %prep %setup -qn coffeescript-%{commit} -%patch1 -p1 +%patch 1 -p1 mv documentation html %build @@ -94,5 +94,8 @@ end %doc html %changelog +* Tue Dec 17 2024 chenhao - 1.10.0-2 +- Fix %patchN is deprecated warning + * Fri Aug 14 2020 leiju - 1.10.0-1 - Package init -- Gitee