avatar
alekseyz has added 4fb14f47db
Speed RPM
view file @ 4fb14f47db
... ... --- /dev/null
... ... +++ b/rpm-5.4.10-speed_rpm.patch
... ... @@ -0,0 +1,20 @@
1
diff -Naur rpm-5.4.10-orig/macros/mandriva rpm-5.4.10/macros/mandriva
2
--- rpm-5.4.10-orig/macros/mandriva	2012-07-06 21:02:38.000000000 +0400
3
+++ rpm-5.4.10/macros/mandriva	2018-05-29 13:05:54.292402124 +0300
4
@@ -505,3 +505,6 @@
5
 %{nil}
6
 
7
 %{load:/etc/rpm/macros.d/*.macros}
8
+
9
+# https://forum.rosalinux.ru/viewtopic.php?f=56&t=8427&p=88972&hilit=rpm4+rpm5#p88972
10
+%__nofsync nofsync
11
diff -Naur rpm-5.4.10-orig/macros/mandriva.in rpm-5.4.10/macros/mandriva.in
12
--- rpm-5.4.10-orig/macros/mandriva.in	2012-05-20 00:35:44.000000000 +0400
13
+++ rpm-5.4.10/macros/mandriva.in	2018-05-29 13:05:21.900835899 +0300
14
@@ -505,3 +505,6 @@
15
 %{nil}
16
 
17
 %{load:/etc/rpm/macros.d/*.macros}
18
+
19
+# https://forum.rosalinux.ru/viewtopic.php?f=56&t=8427&p=88972&hilit=rpm4+rpm5#p88972
20
+%__nofsync nofsync
... ... --- a/rpm.spec
... ... +++ b/rpm.spec
... ... @@ -61,7 +61,7 @@ Summary: The RPM package management system
61 61
Name:		rpm
62 62
Epoch:		1
63 63
Version:	%{libver}.%{minorver}
64
Release:	%{?prereldate:0.%{prereldate}.}77
64
Release:	%{?prereldate:0.%{prereldate}.}78
65 65
License:	LGPLv2.1+
66 66
Group:		System/Configuration/Packaging
67 67
Url:		http://rpm5.org/
... ... @@ -472,6 +472,8 @@ Patch221: rpm-5.4.14-rubygems2.2-support.patch
472 472
473 473
# alloca fails with 121 008 objects
474 474
Patch222:	rpm-5.4.10-trigtrans_avoid_alloca_as_stack_overflows.patch
475
# https://forum.rosalinux.ru/viewtopic.php?f=56&t=8427&p=88972&hilit=rpm4+rpm5#p88972
476
Patch223:	rpm-5.4.10-speed_rpm.patch
475 477
476 478
# ROSA stuff
477 479
Patch501:	rpm-5.3.12.vendor.ROSA.patch
... ... @@ -1168,6 +1170,7 @@ This package contains the RPM API documentation generated in HTML format.
1170 1170
%patch221 -p1 -b .rubygems2.2~
1171 1171
1172 1172
%patch222 -p1 -b .trigtrans-fix-alloca~
1173
%patch223 -p1 -b .speed~
1173 1174
1174 1175
%patch501 -p1 -b .rosa_vendor~
1175 1176
%patch502 -p1 -b .package_name~

Comments