summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/systemd.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/packaging/systemd.spec b/packaging/systemd.spec
index 994512fcd0..0517c1d624 100644
--- a/packaging/systemd.spec
+++ b/packaging/systemd.spec
@@ -167,6 +167,7 @@ cp %{SOURCE3} .
--disable-manpages \
%endif
--disable-static \
+ --with-rpmmacrosdir=%{_sysconfdir}/rpm/ \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
--with-smack-run-label=System::Privileged \
@@ -269,11 +270,6 @@ rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/systemd-tmpfiles-clean.timer
rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/systemd-tmpfiles-clean.service
rm -rf %{buildroot}/%{_prefix}/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer
-# Move macros to the proper location for Tizen
-mkdir -p %{buildroot}%{_sysconfdir}/rpm
-install -m644 src/core/macros.systemd %{buildroot}%{_sysconfdir}/rpm/macros.systemd
-rm -f %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.systemd
-
# Exclude ELF binaries
rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-debug-generator
rm -f %{buildroot}/%{_prefix}/lib/systemd/system-generators/systemd-efi-boot-generator