diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2018-07-15 22:50:20 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2018-07-15 22:50:20 +0800 |
commit | a318953107f4b2f9e8c6510ec620b7163e2dac7b (patch) | |
tree | 66654efef7f2cd9f52b586a7aea5e5d82f50dcaf | |
parent | 3e3cad9ddb2d415a87c3067fff143240d4aedb90 (diff) | |
download | copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.tar copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.tar.gz copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.tar.bz2 copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.tar.lz copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.tar.xz copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.tar.zst copr-rpm-spec-a318953107f4b2f9e8c6510ec620b7163e2dac7b.zip |
guix: emacs-ghub 1.3.1-0.1.20180312 -> 2.0.1
-rw-r--r-- | guix/emacs-ghub/emacs-ghub.spec | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/guix/emacs-ghub/emacs-ghub.spec b/guix/emacs-ghub/emacs-ghub.spec index 3a22112..7ee47cf 100644 --- a/guix/emacs-ghub/emacs-ghub.spec +++ b/guix/emacs-ghub/emacs-ghub.spec @@ -1,16 +1,14 @@ %global pkg ghub %global pkgname Ghub -%global commit 11c07daf7abcaf2d4cc2a5f007772506202c6d1f -%global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: emacs-%{pkg} -Version: 1.3.1 -Release: 0.1.20180312git%{shortcommit}%{?dist} +Version: 2.0.1 +Release: 1%{?dist} Summary: Minuscule GitHub client library for Emacs License: GPLv3+ URL: https://magit.vc -Source0: https://github.com/magit/ghub/archive/%{commit}/%{name}-%{commit}.tar.gz +Source0: https://github.com/magit/ghub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: emacs, texinfo @@ -23,7 +21,7 @@ using the Github REST (v3) and GraphQL (v4) APIs from Emacs packages. %prep -%autosetup -n ghub-%{commit} -p1 +%autosetup -n ghub-%{version} -p1 %build @@ -34,7 +32,9 @@ using the Github REST (v3) and GraphQL (v4) APIs from Emacs packages. mkdir -p %{buildroot}%{_emacs_sitelispdir} %{buildroot}%{_emacs_sitestartdir} install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/ghub install -m 644 ghub.el ghub.elc %{buildroot}%{_emacs_sitelispdir}/ghub/ -install -m 644 ghub-autoloads.el %{buildroot}%{_emacs_sitestartdir}/ghub.el +install -m 644 ghub-autoloads.el %{buildroot}%{_emacs_sitelispdir}/ghub/ +ln -rs %{buildroot}%{_emacs_sitelispdir}/ghub/ghub-autoloads.el \ + %{buildroot}%{_emacs_sitestartdir} mkdir -p %{buildroot}%{_infodir} gzip -9 < ghub.info > %{buildroot}%{_infodir}/ghub.info.gz @@ -50,15 +50,21 @@ fi %files +%license LICENSE %doc README.md ghub.org %dir %{_emacs_sitelispdir}/ghub %{_emacs_sitelispdir}/ghub/ghub.el %{_emacs_sitelispdir}/ghub/ghub.elc -%{_emacs_sitestartdir}/ghub.el +%{_emacs_sitelispdir}/ghub/ghub-autoloads.el +%{_emacs_sitestartdir}/ghub-autoloads.el %{_infodir}/ghub.info.gz %changelog +* Sat Jul 07 2018 Ting-Wei Lan <lantw44@gmail.com> - 2.0.1-1 +- Update to 2.0.1 +- Fix autoloads by creating a symlink instead of moving the script itself + * Tue Mar 13 2018 Ting-Wei Lan <lantw44@gmail.com> - 1.3.1-0.1.20180312git11c07da - Initial packaging |