Remove emacs subpackage to conform with Emacs packaging guidelines

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
This commit is contained in:
Robert-André Mauchin 2019-03-22 20:35:51 +01:00
commit 31382c2110

View file

@ -2,7 +2,7 @@
Name: cdargs
Version: 1.35
Release: 20%{?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,30 +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}
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
cdargs and lets the user quickly make a directory listed there the
current working directory.
%prep
%autosetup -p1
@ -79,21 +62,20 @@ 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}
%license COPYING
%{_emacs_sitelispdir}/%{name}/*.el
%{_emacs_sitelispdir}/%{name}/*.elc
%{_emacs_sitestartdir}/cdargs-init.el
%changelog
* Fri Mar 22 20:25:44 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.35-21
- Remove emacs subpackage to conform with Emacs packaging guidelines (#1234562)
* Wed Dec 12 2018 Tim Landscheidt <tim@tim-landscheidt.de> - 1.35-20
- Obsolete emacs-el subpackage (#1234562)
@ -139,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 <jonathan.underwood@gmail.com> - 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
@ -151,7 +133,7 @@ install -D -p -m 644 src/cdargs.h %{buildroot}%{_includedir}/cdargs.h
* Sun Jan 11 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 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 <xjakub@fi.muni.cz> - 1.35-2