Speed RPM

This commit is contained in:
Алзим 2018-05-29 13:21:47 +03:00
parent ce9cb35ebc
commit 4fb14f47db
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,20 @@
diff -Naur rpm-5.4.10-orig/macros/mandriva rpm-5.4.10/macros/mandriva
--- rpm-5.4.10-orig/macros/mandriva 2012-07-06 21:02:38.000000000 +0400
+++ rpm-5.4.10/macros/mandriva 2018-05-29 13:05:54.292402124 +0300
@@ -505,3 +505,6 @@
%{nil}
%{load:/etc/rpm/macros.d/*.macros}
+
+# https://forum.rosalinux.ru/viewtopic.php?f=56&t=8427&p=88972&hilit=rpm4+rpm5#p88972
+%__nofsync nofsync
diff -Naur rpm-5.4.10-orig/macros/mandriva.in rpm-5.4.10/macros/mandriva.in
--- rpm-5.4.10-orig/macros/mandriva.in 2012-05-20 00:35:44.000000000 +0400
+++ rpm-5.4.10/macros/mandriva.in 2018-05-29 13:05:21.900835899 +0300
@@ -505,3 +505,6 @@
%{nil}
%{load:/etc/rpm/macros.d/*.macros}
+
+# https://forum.rosalinux.ru/viewtopic.php?f=56&t=8427&p=88972&hilit=rpm4+rpm5#p88972
+%__nofsync nofsync

View file

@ -61,7 +61,7 @@ Summary: The RPM package management system
Name: rpm
Epoch: 1
Version: %{libver}.%{minorver}
Release: %{?prereldate:0.%{prereldate}.}77
Release: %{?prereldate:0.%{prereldate}.}78
License: LGPLv2.1+
Group: System/Configuration/Packaging
Url: http://rpm5.org/
@ -472,6 +472,8 @@ Patch221: rpm-5.4.14-rubygems2.2-support.patch
# alloca fails with 121 008 objects
Patch222: rpm-5.4.10-trigtrans_avoid_alloca_as_stack_overflows.patch
# https://forum.rosalinux.ru/viewtopic.php?f=56&t=8427&p=88972&hilit=rpm4+rpm5#p88972
Patch223: rpm-5.4.10-speed_rpm.patch
# ROSA stuff
Patch501: rpm-5.3.12.vendor.ROSA.patch
@ -1168,6 +1170,7 @@ This package contains the RPM API documentation generated in HTML format.
%patch221 -p1 -b .rubygems2.2~
%patch222 -p1 -b .trigtrans-fix-alloca~
%patch223 -p1 -b .speed~
%patch501 -p1 -b .rosa_vendor~
%patch502 -p1 -b .package_name~