]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - contrib/packaging/autorandr.spec
Merge remote-tracking branch 'upstream/master'
[deb_pkgs/autorandr.git] / contrib / packaging / autorandr.spec
index b0ab38e6e0635f9bdf2d8403b858f2aa39f45b82..1b4877cbd4327a3d22a7ed4d01a8d41ea4d270da 100644 (file)
@@ -7,21 +7,21 @@
 %endif
 
 Name:           autorandr
-Version:        1.5.1
+Version:        1.7
 Release:        1%{?dist}
 Summary:        Automatically select a display configuration based on connected devices
 
 License:        GPL
-#URL:            https://github.com/phillipberndt/autorandr
-#Source0:        https://github.com/phillipberndt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
-URL:            https://github.com/maciex/autorandr
-Source0:        https://github.com/maciex/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+URL:            https://github.com/phillipberndt/autorandr
+Source0:        https://github.com/phillipberndt/%{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 +44,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
@@ -58,6 +58,8 @@ install -D -m 644 contrib/etc/xdg/autostart/autorandr.desktop %{buildroot}%{_sys
 
 
 %changelog
+* Fri Sep 28 2018 Maciej Sitarz <macieksitarz@wp.pl> - 1.7-1
+- Updated to stable 1.7
 * Thu Jul 19 2018 Maciej Sitarz <macieksitarz@wp.pl> - 1.5-1
 - Updated to stable 1.5
 - Changed dest path for systemd service file