From cb06a6e9dbd12e356cb574ab46e63b9abcb085d7 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Wed, 29 Aug 2018 21:38:01 +0200 Subject: [PATCH] - Drop old Obseletes - Use %license macro --- gnome-shell-extensions.spec | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index b05e3a2..caaa694 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -49,16 +49,6 @@ Summary: Files common to GNOME Shell Extensions Group: User Interface/Desktops License: GPLv2+ Requires: gnome-shell >= %{min_gs_version} -# Dock extension no longer provided by GNOME Shell extensions >= 3.7.1 -Obsoletes: %{pkg_prefix}-dock < 3.7.1 -# Alternative-status-menu extension no longer provided by GNOME Shell extensions >= 3.9.5 -Obsoletes: %{pkg_prefix}-alternative-status-menu < 3.9.5 -# Xrandr-indicator extension no longer provided by GNOME Shell extensions >= 3.9.5 -Obsoletes: %{pkg_prefix}-xrandr-indicator < 3.9.90 -# Obsolete extensions dropped in favor of schema overrides by upstream -Obsoletes: %{pkg_prefix}-default-min-max < 3.9.3-1 -Obsoletes: %{pkg_prefix}-static-workspaces < 3.9.3-1 -Obsoletes: %{pkg_prefix}-systemMonitor < 3.15.91 %description -n %{pkg_prefix}-common GNOME Shell Extensions is a collection of extensions providing additional and @@ -77,15 +67,6 @@ Requires: %{pkg_prefix}-launch-new-instance = %{version}-%{release} Requires: %{pkg_prefix}-places-menu = %{version}-%{release} Requires: %{pkg_prefix}-window-list = %{version}-%{release} Requires: nautilus -# Obsolete fallback mode components -Obsoletes: gnome-applets < 1:3.5.92-5 -%global gnome_applet_sensors_obsolete_ver 3.0.0-6 -Obsoletes: gnome-applet-sensors < %{gnome_applet_sensors_obsolete_ver} -Obsoletes: gnome-applet-sensors-devel < %{gnome_applet_sensors_obsolete_ver} -%global gnome_panel_obsolete_ver 3.6.2-7 -Obsoletes: gnome-panel < %{gnome_panel_obsolete_ver} -Obsoletes: gnome-panel-devel < %{gnome_panel_obsolete_ver} -Obsoletes: gnome-panel-libs < %{gnome_panel_obsolete_ver} %description -n gnome-classic-session This package contains the required components for the GNOME Shell "classic" @@ -244,7 +225,8 @@ rm $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.exampl %files -n %{pkg_prefix}-common -f %{name}.lang -%doc COPYING NEWS README.md +%doc NEWS README.md +%license COPYING %files -n gnome-classic-session