Blob Blame History Raw
%global pkg json-snatcher

Name:           emacs-%{pkg}
Version:        1.0.0
Release:        3%{?dist}
Summary:        Get the path to a JSON element in Emacs

License:        GPLv3+
URL:  {pkg}
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires:  emacs
Requires:       emacs(bin) >= %{_emacs_version}
BuildArch:      noarch

Say you're looking through a large JSON file, and see a value that you want to
extract programmatically. This Emacs extension will allow you to snatch the path
to this value.

%autosetup -n %{pkg}-%{version}

%{_emacs_bytecompile} %{pkg}.el

install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
install -pm 0644 %{pkg}.el* -t $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/


* Wed Jul 24 2019 Fedora Release Engineering <> - 1.0.0-3
- Rebuilt for

* Thu Jan 31 2019 Fedora Release Engineering <> - 1.0.0-2
- Rebuilt for

* Thu Nov 22 2018 Mohamed El Morabity <> - 1.0.0-1
- Initial RPM release