summaryrefslogtreecommitdiff
path: root/rpm.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpm.spec')
-rw-r--r--rpm.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpm.spec b/rpm.spec
index f3deb7ff3..a49cd3925 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -94,11 +94,11 @@ make -C python
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_DIR/etc/rpm
make DESTDIR="$RPM_BUILD_ROOT" install
%ifos linux
make DESTDIR="$RPM_BUILD_ROOT" install -C python
+mkdir -p $RPM_BUILD_DIR/etc/rpm
%endif
{ cd $RPM_BUILD_ROOT
@@ -134,7 +134,9 @@ fi
%defattr(-,root,root)
%doc RPM-PGP-KEY CHANGES GROUPS doc/manual/*
/bin/rpm
+%ifos linux
%dir /etc/rpm
+%endif
/usr/bin/rpm2cpio
/usr/bin/gendiff
/usr/lib/librpm.so.*