From 8580b0e06cdceea5bf07369c14af0016c8ccba80 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 5 Nov 2019 15:48:37 +0100 Subject: [PATCH] + switcheroo-control-2.0-1 Update to 2.0 --- .gitignore | 1 + sources | 2 +- switcheroo-control.spec | 17 ++++++++++++----- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d321a4a..6df4b66 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources index 98c0096..c150354 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (switcheroo-control-1.3.1.tar.xz) = 896dd8a7d494ec231e3b32401b7025cff8db5c40fccf39b82fb8b66d83c47e78e0bdee9faf65ab6a0d1624ac99f85eb7ccd0e95ea2fe88c4d6b09e92ceec036b +SHA512 (switcheroo-control-2.0.tar.xz) = 65fb05bcdb168ff75361e15d7d6a0872ad9b775a472b26f20418f4c14368abc6975633a6e4e1c5f47f79238b727057eaa61dca0937580577c9ceb52656aebb0e diff --git a/switcheroo-control.spec b/switcheroo-control.spec index 4899aa0..fc85a40 100644 --- a/switcheroo-control.spec +++ b/switcheroo-control.spec @@ -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 - 2.0-1 ++ switcheroo-control-2.0-1 +- Update to 2.0 + * Sat Jul 27 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild