From: Maciej Sitarz Date: Thu, 19 Jul 2018 13:40:28 +0000 (+0200) Subject: Set systemd dependency to get it's macros X-Git-Tag: upstream/1.8.1~2^2~4^2 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=359b534a13a0d8f92baebc9d23a6e7013b597bb3 Set systemd dependency to get it's macros --- diff --git a/contrib/packaging/autorandr.spec b/contrib/packaging/autorandr.spec index b0ab38e..f349aba 100644 --- a/contrib/packaging/autorandr.spec +++ b/contrib/packaging/autorandr.spec @@ -18,10 +18,12 @@ URL: https://github.com/maciex/autorandr Source0: https://github.com/maciex/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch -Requires: systemd +Requires: python2 %if 0%{?use_pm_utils} Requires: pm-utils %endif +%{?systemd_ordering} +BuildRequires: systemd %description @@ -44,7 +46,7 @@ install -D -m 644 contrib/etc/xdg/autostart/autorandr.desktop %{buildroot}%{_sys %files %defattr(-,root,root,-) -%attr(0644,root,root) /%{_unitdir}/autorandr.service +%attr(0644,root,root) %{_unitdir}/autorandr.service %license gpl-3.0.txt %doc README.md