]> git.pld-linux.org Git - packages/xz.git/commitdiff
up to 5.4.0 auto/th/xz-5.4.0-1
authorJan Palus <atler@pld-linux.org>
Wed, 14 Dec 2022 22:40:15 +0000 (23:40 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 14 Dec 2022 22:40:15 +0000 (23:40 +0100)
xz-parallel.patch
xz.spec

index e475e32fa11a3c5c6eef930816483f1ab7084495..a9e4acb0286b483b4857d3cebc9101bdf8b3426d 100644 (file)
@@ -4,19 +4,18 @@
  .B 0
  makes
  .B xz
--use as many threads as there are CPU cores on the system.
-+use as many threads as there are CPU cores on the system (default in PLD).
- The actual number of threads can be less than
+-use up to as many threads as the processor(s) on the system support.
++use up to as many threads as the processor(s) on the system support (default in PLD).
+ The actual number of threads can be fewer than
  .I threads
  if the input file is not big enough
---- xz/src/xz/hardware.c~      2011-04-12 12:42:58.000000000 +0200
-+++ xz/src/xz/hardware.c       2011-10-22 23:22:28.306650949 +0200
-@@ -139,6 +139,8 @@
-               total_ram = (uint64_t)(ASSUME_RAM) * 1024 * 1024;
+--- xz-5.4.0/src/xz/hardware.c.orig    2022-12-14 21:03:50.227052828 +0100
++++ xz-5.4.0/src/xz/hardware.c 2022-12-14 23:25:02.994248765 +0100
+@@ -334,5 +334,7 @@
+               memlimit_mt_default = mem_ceiling;
+ #endif
  
-       // Set the defaults.
 +      hardware_threads_set(0);
-       hardware_memlimit_set(0, true, true, false);
-+      hardware_memlimit_set(80, true, false, true);
++      hardware_memlimit_set(80, true, false, false, true);
        return;
  }
diff --git a/xz.spec b/xz.spec
index 69f98d9d89139925900da63767798da3cbc59f92..45e5394313d8b94f975ed0f8552f8cabc7667696 100644 (file)
--- a/xz.spec
+++ b/xz.spec
 Summary:       LZMA Encoder/Decoder
 Summary(pl.UTF-8):     Koder/Dekoder LZMA
 Name:          xz
-Version:       5.2.9
+Version:       5.4.0
 Release:       1
 Epoch:         1
 License:       LGPL v2.1+, helper scripts on GPL v2+
 Group:         Applications/Archiving
 Source0:       https://tukaani.org/xz/%{name}-%{version}.tar.bz2
-# Source0-md5: 8c4b53d6b0f9ee9b725ec46f2a1f45c3
+# Source0-md5: 2cc95f33fe0527622177b2bb2f5956c8
 Patch0:                %{name}-parallel.patch
 Patch1:                %{name}-memlimit.patch
 URL:           https://tukaani.org/xz/
@@ -170,6 +170,10 @@ rm -rf $RPM_BUILD_ROOT
 %lang(fr) %{_mandir}/fr/man1/unlzma.1*
 %lang(fr) %{_mandir}/fr/man1/unxz.1*
 %lang(fr) %{_mandir}/fr/man1/xz*.1*
+%lang(ro) %{_mandir}/ro/man1/lz*.1*
+%lang(ro) %{_mandir}/ro/man1/unlzma.1*
+%lang(ro) %{_mandir}/ro/man1/unxz.1*
+%lang(ro) %{_mandir}/ro/man1/xz*.1*
 
 %files libs
 %defattr(644,root,root,755)
This page took 0.239263 seconds and 4 git commands to generate.