From 79bd29c11f90bf898eec49971ef0c1f957d7405b Mon Sep 17 00:00:00 2001 From: Feng Su Date: Mon, 6 Mar 2023 11:29:10 +0800 Subject: [PATCH] Standardize patch filenames --- bc-1.06-dc_ibase.patch => 0001-bc-1.06-dc_ibase.patch | 0 bc-1.06.95-doc.patch => 0002-bc-1.06.95-doc.patch | 0 ...ty.diff => 0003-bc-1.07.1-readline-echo-empty.diff | 0 bc.spec | 11 +++++++---- 4 files changed, 7 insertions(+), 4 deletions(-) rename bc-1.06-dc_ibase.patch => 0001-bc-1.06-dc_ibase.patch (100%) rename bc-1.06.95-doc.patch => 0002-bc-1.06.95-doc.patch (100%) rename bc-1.07.1-readline-echo-empty.diff => 0003-bc-1.07.1-readline-echo-empty.diff (100%) diff --git a/bc-1.06-dc_ibase.patch b/0001-bc-1.06-dc_ibase.patch similarity index 100% rename from bc-1.06-dc_ibase.patch rename to 0001-bc-1.06-dc_ibase.patch diff --git a/bc-1.06.95-doc.patch b/0002-bc-1.06.95-doc.patch similarity index 100% rename from bc-1.06.95-doc.patch rename to 0002-bc-1.06.95-doc.patch diff --git a/bc-1.07.1-readline-echo-empty.diff b/0003-bc-1.07.1-readline-echo-empty.diff similarity index 100% rename from bc-1.07.1-readline-echo-empty.diff rename to 0003-bc-1.07.1-readline-echo-empty.diff diff --git a/bc.spec b/bc.spec index 4ba64f0..8ef4051 100644 --- a/bc.spec +++ b/bc.spec @@ -1,4 +1,4 @@ -%define anolis_release 6 +%define anolis_release 7 Name: bc Summary: GNU's bc (a numeric processing language) and dc (a calculator) @@ -7,9 +7,9 @@ Release: %{anolis_release}%{?dist} License: GPLv2+ URL: http://www.gnu.org/software/bc/ Source: http://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz -Patch1: bc-1.06-dc_ibase.patch -Patch2: bc-1.06.95-doc.patch -Patch3: bc-1.07.1-readline-echo-empty.diff +Patch1: 0001-bc-1.06-dc_ibase.patch +Patch2: 0002-bc-1.06.95-doc.patch +Patch3: 0003-bc-1.07.1-readline-echo-empty.diff BuildRequires: gcc BuildRequires: readline-devel, flex, bison, texinfo, ed BuildRequires: make @@ -57,6 +57,9 @@ The %{name}-doc package contains documentation files for %{name}. %doc FAQ AUTHORS NEWS README %changelog +* Mon Mar 06 2023 Feng Su - 1.07.1-7 +- Standardize patch filenames + * Thu Dec 22 2022 Funda Wang - 1.07.1-6 - Bump release for upgrading from anolis 8 -- Gitee