summaryrefslogtreecommitdiff
path: root/scp2/inc
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-11-30 16:48:22 +0100
committerPetr Mladek <pmladek@suse.cz>2011-12-01 18:43:49 +0100
commit2578d13ea8bf7b3918e392a3fabca7ba2fec3146 (patch)
treeeb4cb9ed6b42df4931d5a284ac34afbb86e9fe0c /scp2/inc
parent0056224aee18d6c04ece998e9fb6e3cff06b8719 (diff)
add exectuable rights for libraries on Linux
RPM strips debuginfo packages from libraries only when they have execuateble rights It does not fix permissions of the prebuilt mozilla libraries; scp2 defines the same permissions for all files inside the mozruntime.zip archive. Unfortuantely, it icludes libraries and data files togetger.
Diffstat (limited to 'scp2/inc')
-rwxr-xr-xscp2/inc/macros.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index 8120b125d3d0..04e017902a16 100755
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -90,6 +90,9 @@
#define BIN_FILE_BODY \
UnixRights = 755
+#define LIB_FILE_BODY \
+ UnixRights = 755
+
#define TXT_FILE_BODY \
UnixRights = 644
@@ -131,12 +134,12 @@
Styles = (ARCHIVE,SUBSTITUTE,PATCH)
#define PACKED_LIB_FILE_BODY \
- TXT_FILE_BODY; \
+ LIB_FILE_BODY; \
Styles = (PACKED); \
Dir = SCP2_OOO_BIN_DIR
#define PACKED_LIB_FILE_BODY_PATCH \
- TXT_FILE_BODY; \
+ LIB_FILE_BODY; \
Styles = (PACKED,PATCH); \
Dir = SCP2_OOO_BIN_DIR