diff --git a/cdargs.spec b/cdargs.spec index 6ee1dfe..bedb385 100644 --- a/cdargs.spec +++ b/cdargs.spec @@ -2,7 +2,7 @@ Name: cdargs Version: 1.35 -Release: 19%{?dist} +Release: 21%{?dist} Summary: The shell cd with bookmarks and browser License: GPLv2+ URL: http://www.skamphausen.de/cgi-bin/ska/CDargs/ @@ -13,9 +13,10 @@ Patch0: %{name}-%{version}_shebangs.patch Patch1: %{name}-%{version}_format_security.patch Patch2: %{name}-%{version}_fix_fsf_address.patch -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ BuildRequires: ncurses-devel BuildRequires: emacs +Requires: emacs-filesystem >= %{_emacs_version} %description Enables the user to quickly change working directory by navigating cd arguments @@ -24,40 +25,12 @@ and expanding the shell built-in cd with bookmarks and browser. %package devel Summary: Development files for %{name} - -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains development files for %{name}. -%package -n emacs-cdargs -Summary: Cdargs support for Emacs -BuildArch: noarch - -Requires: %{name} = %{version}-%{release} -Requires: emacs(bin) >= %{_emacs_version} - -%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 -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 @@ -89,24 +62,23 @@ install -D -p -m 644 src/cdargs.h %{buildroot}%{_includedir}/cdargs.h %{_bindir}/cdargs %config(noreplace) %{profiledir}/cdargs.* %doc %{_mandir}/man1/cdargs.1* +%dir %{_emacs_sitelispdir}/%{name} +%{_emacs_sitelispdir}/%{name}/*.el +%{_emacs_sitelispdir}/%{name}/*.elc +%{_emacs_sitestartdir}/cdargs-init.el %files devel %{_includedir}/cdargs.h -%files -n emacs-cdargs -%dir %{_emacs_sitelispdir}/%{name} -%{_emacs_sitelispdir}/%{name}/*.elc -%{_emacs_sitestartdir}/cdargs-init.el - - -%files -n emacs-cdargs-el -%license COPYING -%{_emacs_sitelispdir}/%{name}/*.el - - %changelog +* Fri Mar 22 20:25:44 CET 2019 Robert-André Mauchin - 1.35-21 +- Remove emacs subpackage to conform with Emacs packaging guidelines (#1234562) + +* Wed Dec 12 2018 Tim Landscheidt - 1.35-20 +- Obsolete emacs-el subpackage (#1234562) + * Thu Jul 12 2018 Fedora Release Engineering - 1.35-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild @@ -149,7 +121,7 @@ install -D -p -m 644 src/cdargs.h %{buildroot}%{_includedir}/cdargs.h - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Mar 14 2010 Jonathan G. Underwood - 1.35-6 -- Update spec file to bring it into compliance with Emacs add-on packaging +- Update spec file to bring it into compliance with Emacs add-on packaging guidelines - Split Elisp source files into separate subpackage @@ -161,7 +133,7 @@ install -D -p -m 644 src/cdargs.h %{buildroot}%{_includedir}/cdargs.h * Sun Jan 11 2009 Milos Jakubicek - 1.35-3 -- Fixed usage in other shells than bash: minor compatibility code changes and +- Fixed usage in other shells than bash: minor compatibility code changes and no complains because completion doesn't work (fix BZ#479398). * Tue Mar 25 2008 Milos Jakubicek - 1.35-2