[packages/rpm/nodejs] RPMFC_NODEJS needs to be a bit
glen
glen at pld-linux.org
Mon Apr 29 13:04:25 CEST 2013
commit 77f0d3b28313d97751afe4db03b4fcea2c1bf176
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Apr 29 14:03:22 2013 +0300
RPMFC_NODEJS needs to be a bit
or weird things happen, like nodejs.req,prov called for all files, and
requires: ' ' being provided (space as cap name)
nodejs-autodeps.patch | 19 ++++++++++---------
rpm.spec | 2 +-
2 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 53b9f81..4b6b0be 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -52,7 +52,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 5.4.10
-Release: 50.1
+Release: 50.2
License: LGPL v2.1
Group: Base
# http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.10-0.20120706.src.rpm
diff --git a/nodejs-autodeps.patch b/nodejs-autodeps.patch
index 932d7d2..a03fe3d 100644
--- a/nodejs-autodeps.patch
+++ b/nodejs-autodeps.patch
@@ -1,13 +1,14 @@
---- rpm-5.4.10/lib/rpmfc.h~ 2013-04-28 23:05:05.000000000 +0300
-+++ rpm-5.4.10/lib/rpmfc.h 2013-04-28 23:08:27.668453931 +0300
-@@ -48,6 +48,7 @@
- RPMFC_MANPAGE = (7 << 16),
- RPMFC_TEXT = (8 << 16),
- RPMFC_DOCUMENT = (9 << 16),
-+ RPMFC_NODEJS = (10 << 16),
+--- rpm-5.4.10/lib/rpmfc.h~ 2013-04-29 13:37:08.219548479 +0300
++++ rpm-5.4.10/lib/rpmfc.h 2013-04-29 13:36:18.864082173 +0300
+@@ -36,7 +36,7 @@
+ RPMFC_SCRIPT = (1 << 12),
+ RPMFC_STATIC = (1 << 13),
+ RPMFC_NOTSTRIPPED = (1 << 14),
+- /* bit 15 unused */
++ RPMFC_NODEJS = (1 << 15),
- RPMFC_ARCHIVE = (1 << 20),
- RPMFC_COMPRESSED = (1 << 21),
+ /* bits 16-19 are enumerated, not bits */
+ RPMFC_DIRECTORY = (1 << 16),
--- rpm-5.4.10/lib/rpmfc.c 2013-04-28 23:10:48.781649157 +0300
+++ rpm-5.4.10/lib/rpmfc.c 2013-04-28 23:24:04.738348320 +0300
@@ -618,6 +618,8 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/77f0d3b28313d97751afe4db03b4fcea2c1bf176
More information about the pld-cvs-commit
mailing list