[packages/units] - updated to 2.24

qboosh qboosh at pld-linux.org
Tue Jan 21 20:14:22 CET 2025


commit 69d85484802aa52a540f4e2fc200064cd310273a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 21 20:00:05 2025 +0100

    - updated to 2.24

 units-use_sys_getopt.patch |  8 ++++----
 units.spec                 | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/units.spec b/units.spec
index 05fd453..dfca11b 100644
--- a/units.spec
+++ b/units.spec
@@ -18,16 +18,16 @@ Summary(ru.UTF-8):	Утилита преобразования единиц из
 Summary(tr.UTF-8):	Birim dönüştürme programı
 Summary(uk.UTF-8):	Утиліта для конвертації одиниць виміру
 Name:		units
-Version:	2.23
+Version:	2.24
 Release:	1
 License:	GPL v3+
 Group:		Applications/Engineering
 Source0:	https://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
-# Source0-md5:	2cb4f754dcde5b2409e656f5d8d4a474
+# Source0-md5:	8337ac24491906646a03e15952d5cd74
 Patch0:		%{name}-use_sys_getopt.patch
 Patch1:		%{name}-info.patch
 URL:		http://www.gnu.org/software/units/
-BuildRequires:	autoconf >= 2.64
+BuildRequires:	autoconf >= 2.71
 BuildRequires:	automake
 BuildRequires:	python3 >= 1:3.2
 BuildRequires:	readline-devel >= 4.2
@@ -105,8 +105,8 @@ units programı, çeşitli birimlerdeki büyüklükleri başka birimlere
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %{__aclocal}
diff --git a/units-use_sys_getopt.patch b/units-use_sys_getopt.patch
index 4d5035f..72f37ef 100644
--- a/units-use_sys_getopt.patch
+++ b/units-use_sys_getopt.patch
@@ -1,11 +1,11 @@
---- units-2.23/Makefile.in.orig	2024-02-20 17:37:13.894755652 +0100
-+++ units-2.23/Makefile.in	2024-02-20 17:37:49.274563983 +0100
-@@ -59,7 +59,7 @@ DEFS=-DUNITSFILE=\"@UDATADIR at definitions
+--- units-2.24/Makefile.in.orig	2025-01-21 18:59:19.460359728 +0100
++++ units-2.24/Makefile.in	2025-01-21 19:48:30.781037718 +0100
+@@ -61,7 +61,7 @@ DEFS=-DUNITSFILE=\"@UDATADIR at definitions
                      @DEFIS@ @DEFS@
  CFLAGS = @CFLAGS@
  CPPFLAGS = @CPPFLAGS@
 -OBJECTS = units. at OBJEXT@ parse.tab. at OBJEXT@ getopt. at OBJEXT@ getopt1. at OBJEXT@ @STRFUNC@
 +OBJECTS = units. at OBJEXT@ parse.tab. at OBJEXT@ @STRFUNC@
  
- .PHONY: currency-update-check
+ .PHONY: currency-update-check dist sig validate-codata
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/units.git/commitdiff/69d85484802aa52a540f4e2fc200064cd310273a



More information about the pld-cvs-commit mailing list