Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/switcheroo-control.git#b4a8c938f5f1b2f85162673e4c6fbe8d24761397
This commit is contained in:
parent
720d954124
commit
5a1daa64f5
|
@ -5,3 +5,4 @@
|
|||
/switcheroo-control-2.0.tar.xz
|
||||
/switcheroo-control-2.1.tar.xz
|
||||
/switcheroo-control-2.2.tar.xz
|
||||
/switcheroo-control-2.4.tar.xz
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (switcheroo-control-2.2.tar.xz) = 37ad3760c5d98a8fed2c8e172eed70864d426921da610b2921551e42e2c9a6d417ca5eefb867e3880742e10cffe0e61bffa6a95437e0a0deaec69a6b84e67d78
|
||||
SHA512 (switcheroo-control-2.4.tar.xz) = 47f071b17cbb520d862800ef2d8389ada1130be96a8c1efed9be6793081b5826355ad30b0feeba1cc9eda792b4c943ffc852d12648b0c5e74f25c207d151c1c3
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
Name: switcheroo-control
|
||||
Version: 2.2
|
||||
Release: 2%{?dist}
|
||||
Version: 2.4
|
||||
Release: 1%{?dist}
|
||||
Summary: D-Bus service to check the availability of dual-GPU
|
||||
|
||||
License: GPLv3
|
||||
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/88210ff234d8f6698bdfa17c87bc3480/switcheroo-control-2.2.tar.xz
|
||||
Source0: https://gitlab.freedesktop.org/hadess/switcheroo-control/uploads/accd4a9492979bfd91b587ae7e18d3a2/switcheroo-control-2.4.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
|
@ -40,9 +40,6 @@ This package contains the documentation for %{name}.
|
|||
%install
|
||||
%meson_install
|
||||
|
||||
# https://gitlab.freedesktop.org/hadess/switcheroo-control/-/merge_requests/32
|
||||
sed -i 's,/bin/python,/bin/python3,' %{buildroot}/%{_bindir}/switcherooctl
|
||||
|
||||
%post
|
||||
if [ $1 -eq 2 ] && [ -x /usr/bin/systemctl ] ; then
|
||||
/usr/bin/systemctl daemon-reload
|
||||
|
@ -73,6 +70,10 @@ fi
|
|||
%{_datadir}/gtk-doc/html/%{name}/
|
||||
|
||||
%changelog
|
||||
* Mon Jan 04 2021 Bastien Nocera <bnocera@redhat.com> - 2.4-1
|
||||
+ switcheroo-control-2.4-1
|
||||
- Update to 2.4
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue