emacs-compat/emacs-compat.spec
Björn Bidar 3a56fd8a00 - Remove use deprecated install_info macro's
- Rebase 0001-Add-install-target.patch against new upstream version
- Update to version 30.0.0.0:
  * compat-28: Mark =subr-native-elisp-p= as obsolete (renamed in Emacs 30).
  * compat-30: New function =char-to-name=.
  * compat-30: New function =obarray-clear=.
  * compat-30: New function =interpreted-function-p=.
  * compat-30: New function =primitive-function-p=.
  * compat-30: New function =closurep=.
  * compat-30: Add extended function =sort= with keyword arguments.
  * compat-30: New function =value<=.
  * compat-30: Add extended =copy-tree= with support for copying records with
               non-nil optional second argument.
  * compat-30: New macro =static-if=.
  * compat-30: New alias =drop=.
  * compat-30: New function =merge-ordered-lists=.
  * compat-30: New variables =completion-lazy-hilit= and =completion-lazy-hilit-fn=
               and new function =completion-lazy-hilit=.
  * compat-30: New function =require-with-check=.
  * compat-30: New functions =find-buffer= and =get-truename-buffer=.
  * compat-30: Add extended =completion-metadata-get= with support for
               =completion-category-overrides= and =completion-extra-properties=.

OBS-URL: https://build.opensuse.org/package/show/editors/emacs-compat?expand=0&rev=10
2024-08-03 16:42:37 +00:00

62 lines
1.7 KiB
RPMSpec

#
# spec file for package emacs-compat
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Björn Bidar
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global _name compat
Name: emacs-%{_name}
Version: 30.0.0.0
Release: 0
Summary: COMPATibility Library for Emacs Lisp
License: GPL-3.0-or-later
Group: Productivity/Text/Editors
URL: https://github.com/emacs-compat/compat
Source0: %{_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: emacs-devel
BuildRequires: emacs-nox
BuildRequires: info
BuildRequires: make
BuildRequires: makeinfo
Requires: emacs
Supplements: emacs
# PATCH-FEATURE-UPSTREAM install targets PR 30
Patch1: 0001-Add-install-target.patch
%description
compat.el, the forwards-compatibility library for (GNU) Emacs Lisp, versions 24.4 and newer. The intended audience are package developers that are interested in using newer developments, without having to break compatibility.
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%make_build
%install
%make_install
%check
%files
%doc README.md
%license COPYING
%{_emacs_sitelispdir}/%{_name}*.el*
%{_infodir}/%{_name}*
%changelog