%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
%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
%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