From: Maciej Sitarz Date: Thu, 19 Jul 2018 13:50:29 +0000 (+0200) Subject: Merge branch 'rpm_build_fix_v1.5.1' X-Git-Tag: upstream/1.8.1~2^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=486fe65a859ac7fc6fcdbb927b4d3a672cfaf757;hp=4d5d7e01e02be79267c4288846eb1f328e05ddc3;p=deb_pkgs%2Fautorandr.git Merge branch 'rpm_build_fix_v1.5.1' --- 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