mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 18:33:04 +00:00
21 lines
1,023 B
Diff
21 lines
1,023 B
Diff
--- rpm-5.4.4/build/files.c.srcdefattr~ 2011-12-23 00:01:26.894705831 +0100
|
|
+++ rpm-5.4.4/build/files.c 2011-12-23 00:03:26.074836579 +0100
|
|
@@ -2790,7 +2790,7 @@ int processSourceFiles(Spec spec)
|
|
rc = fl.processingFailed = 1;
|
|
}
|
|
|
|
-#if defined(RPM_VENDOR_OPENPKG) /* support-srcdefattr */
|
|
+#if defined(RPM_VENDOR_OPENPKG) || defined(RPM_VENDOR_MANDRIVA) /* support-srcdefattr */
|
|
/* srcdefattr: allow to set SRPM file attributes via %{_srcdefattr} macro */
|
|
if (fl.def_ar.ar_fmodestr) {
|
|
flp->fl_mode &= S_IFMT;
|
|
--- rpm-5.4.4/macros/mandriva.in.srcdefattr~ 2011-12-23 00:02:58.200806169 +0100
|
|
+++ rpm-5.4.4/macros/mandriva.in 2011-12-23 00:03:14.094823523 +0100
|
|
@@ -21,6 +21,7 @@
|
|
# Build root path, where %install installs the package during build.
|
|
%buildroot %{_buildrootdir}/%{name}-%{version}-%{release}%{?disttag:-%{disttag}%{?distepoch:%{distepoch}}}.%{_target_cpu}-buildroot
|
|
|
|
+%_srcdefattr (644,root,root)
|
|
# Path to top of build area.
|
|
%_topdir %(echo $HOME)/rpmbuild
|
|
|