X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=contrib%2Fpackaging%2Fautorandr.spec;h=f349aba889276be235a64367ae628ef774e291a9;hb=359b534a13a0d8f92baebc9d23a6e7013b597bb3;hp=b0ab38e6e0635f9bdf2d8403b858f2aa39f45b82;hpb=928871e81429ea79bc083210537dc56294c01c7b;p=deb_pkgs%2Fautorandr.git 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