+ switcheroo-control-2.0-1

Update to 2.0
This commit is contained in:
Bastien Nocera 2019-11-05 15:48:37 +01:00
parent fa52c1bd90
commit 8580b0e06c
3 changed files with 14 additions and 6 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/switcheroo-control-1.1.tar.xz
/switcheroo-control-1.3.tar.xz
/switcheroo-control-1.3.1.tar.xz
/switcheroo-control-2.0.tar.xz

View File

@ -1 +1 @@
SHA512 (switcheroo-control-1.3.1.tar.xz) = 896dd8a7d494ec231e3b32401b7025cff8db5c40fccf39b82fb8b66d83c47e78e0bdee9faf65ab6a0d1624ac99f85eb7ccd0e95ea2fe88c4d6b09e92ceec036b
SHA512 (switcheroo-control-2.0.tar.xz) = 65fb05bcdb168ff75361e15d7d6a0872ad9b775a472b26f20418f4c14368abc6975633a6e4e1c5f47f79238b727057eaa61dca0937580577c9ceb52656aebb0e

View File

@ -1,11 +1,12 @@
Name: switcheroo-control
Version: 1.3.1
Release: 2%{?dist}
Version: 2.0
Release: 1%{?dist}
Summary: D-Bus service to check the availability of dual-GPU
License: GPLv3
URL: https://github.com/hadess/switcheroo-control
Source0: https://github.com/hadess/switcheroo-control/releases/download/%{version}/switcheroo-control-%{version}.tar.xz
URL: https://gitlab.freedesktop.org/hadess/switcheroo-control/
# URL from https://gitlab.freedesktop.org/hadess/switcheroo-control/-/releases
Source0: https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/bd4ae2a79276814dad990931ad8c3e0a/switcheroo-control-2.0.tar.xz
BuildRequires: gcc
BuildRequires: pkgconfig(gudev-1.0)
@ -41,13 +42,14 @@ This package contains the documentation for %{name}.
%post
%systemd_post switcheroo-control.service
%udev_hwdb_update
%preun
%systemd_preun switcheroo-control.service
%postun
%systemd_postun_with_restart switcheroo-control.service
%udev_hwdb_update
%files
%license COPYING
@ -55,6 +57,7 @@ This package contains the documentation for %{name}.
%{_sysconfdir}/dbus-1/system.d/net.hadess.SwitcherooControl.conf
%{_unitdir}/switcheroo-control.service
%{_libexecdir}/switcheroo-control
%{_udevhwdbdir}/30-pci-intel-gpu.hwdb
%files docs
%dir %{_datadir}/gtk-doc/
@ -62,6 +65,10 @@ This package contains the documentation for %{name}.
%{_datadir}/gtk-doc/html/%{name}/
%changelog
* Tue Nov 05 2019 Bastien Nocera <bnocera@redhat.com> - 2.0-1
+ switcheroo-control-2.0-1
- Update to 2.0
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild