From 840c384a99fc532e4ec9c38e9dbe5668c4cc8fc6 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Wed, 12 Dec 2018 17:44:51 +0000 Subject: [PATCH] Obsolete emacs-el subpackage (#1234562) --- cdargs.spec | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/cdargs.spec b/cdargs.spec index 3a87820..ed5133f 100644 --- a/cdargs.spec +++ b/cdargs.spec @@ -2,7 +2,7 @@ Name: cdargs Version: 1.35 -Release: 18%{?dist} +Release: 19%{?dist} Summary: The shell cd with bookmarks and browser License: GPLv2+ URL: http://www.skamphausen.de/cgi-bin/ska/CDargs/ @@ -37,6 +37,9 @@ BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: emacs(bin) >= %{_emacs_version} +Provides: emacs-%{name}-el = %{version}-%{release} +Obsoletes: emacs-%{name}-el < 1.35-20 + %description -n emacs-cdargs This is an Emacs front-end to cdargs. It provides a function (cv or cdargs) which uses the same bookmarks list as the terminal program @@ -44,19 +47,6 @@ cdargs and lets the user quickly make a directory listed there the current working directory. -%package -n emacs-cdargs-el -Summary: Elisp source files for Cdargs support for Emacs -Group: Applications/Editors -BuildArch: noarch - -Requires: emacs-%{name} = %{version}-%{release} - -%description -n emacs-cdargs-el -This package contains the Elisp source for providing Cdargs support in -Emacs. You don't need to install this package to have Emacs support for -Cdargs. - - %prep %autosetup -p1 @@ -96,16 +86,16 @@ install -D -p -m 644 src/cdargs.h %{buildroot}%{_includedir}/cdargs.h %files -n emacs-cdargs %dir %{_emacs_sitelispdir}/%{name} +%license COPYING +%{_emacs_sitelispdir}/%{name}/*.el %{_emacs_sitelispdir}/%{name}/*.elc %{_emacs_sitestartdir}/cdargs-init.el -%files -n emacs-cdargs-el -%license COPYING -%{_emacs_sitelispdir}/%{name}/*.el - - %changelog +* Wed Dec 12 2018 Tim Landscheidt - 1.35-19 +- Obsolete emacs-el subpackage (#1234562) + * Thu Apr 05 2018 Robert-André Mauchin - 1.35-18 - Unorphaned - Refresh SPEC