- Drop old Obseletes

- Use %license macro
This commit is contained in:
Mohamed El Morabity 2018-08-29 21:38:01 +02:00
parent 5f9cb8831e
commit cb06a6e9db

View File

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