[packages/units] - updated to 2.23
qboosh
qboosh at pld-linux.org
Tue Feb 20 18:11:05 CET 2024
commit eaf0d1be9da43470d3634cf5cd2d4da75f796511
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Feb 20 17:43:54 2024 +0100
- updated to 2.23
units-use_sys_getopt.patch | 8 ++++----
units.spec | 7 +++++--
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/units.spec b/units.spec
index c19b4fd..05fd453 100644
--- a/units.spec
+++ b/units.spec
@@ -18,12 +18,12 @@ Summary(ru.UTF-8): Утилита преобразования единиц из
Summary(tr.UTF-8): Birim dönüştürme programı
Summary(uk.UTF-8): Утиліта для конвертації одиниць виміру
Name: units
-Version: 2.21
+Version: 2.23
Release: 1
License: GPL v3+
Group: Applications/Engineering
Source0: https://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
-# Source0-md5: 8fc4884bf5f7dab10b5a31bdf7726c2d
+# Source0-md5: 2cb4f754dcde5b2409e656f5d8d4a474
Patch0: %{name}-use_sys_getopt.patch
Patch1: %{name}-info.patch
URL: http://www.gnu.org/software/units/
@@ -136,10 +136,13 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/units
%attr(755,root,root) %{_bindir}/units_cur
%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/cpi.units
%{_datadir}/%{name}/currency.units
%{_datadir}/%{name}/definitions.units
+%{_datadir}/%{name}/elements.units
%{_datadir}/%{name}/locale_map.txt
%dir %{_sharedstatedir}/%{name}
%{_sharedstatedir}/%{name}/currency.units
+%{_sharedstatedir}/%{name}/cpi.units
%{_mandir}/man1/units.1*
%{_infodir}/units.info*
diff --git a/units-use_sys_getopt.patch b/units-use_sys_getopt.patch
index 716936e..4d5035f 100644
--- a/units-use_sys_getopt.patch
+++ b/units-use_sys_getopt.patch
@@ -1,11 +1,11 @@
---- units-1.85/Makefile.in.orig 2006-06-22 09:04:08.000000000 +0200
-+++ units-1.85/Makefile.in 2006-06-22 09:15:30.000000000 +0200
-@@ -45,7 +45,7 @@
+--- 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
@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-units-update
+ .PHONY: currency-update-check
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/units.git/commitdiff/eaf0d1be9da43470d3634cf5cd2d4da75f796511
More information about the pld-cvs-commit
mailing list