From 4fb14f47db87dd2bbc693befc540b8e812f0c26b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B7=D0=B8=D0=BC?= Date: Tue, 29 May 2018 13:21:47 +0300 Subject: [PATCH] Speed RPM --- rpm-5.4.10-speed_rpm.patch | 20 ++++++++++++++++++++ rpm.spec | 5 ++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 rpm-5.4.10-speed_rpm.patch diff --git a/rpm-5.4.10-speed_rpm.patch b/rpm-5.4.10-speed_rpm.patch new file mode 100644 index 0000000..9c73506 --- /dev/null +++ b/rpm-5.4.10-speed_rpm.patch @@ -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 diff --git a/rpm.spec b/rpm.spec index 75a3fcc..d09150d 100644 --- a/rpm.spec +++ b/rpm.spec @@ -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~