https://bugzilla.redhat.com/show_bug.cgi?id=1619528
--- Comment #8 from Robert-André Mauchin <zebob.m(a)gmail.com> ---
- As Lukáš noted, add a comment explaining why the patch is needed.
[!]: Patches link to upstream bugs/comments/lists or are otherwise
justified.
- I don't get this:
# curl
https://api.github.com/repos/jlebon/textern/tarball/5339fb6 > tarball
Source0: jlebon-textern-%gitrev.tar.gz
Grab the tar.gz directly:
Source0: %url/archive/%{gitrev}/%{name}-%{gitrev}.tar.gz
- Version/Release is not good. See the rules on versioning a snapshot:
https://fedoraproject.org/wiki/Packaging:Versioning#Snapshots
%global commit 5339fb6ae33c72c27f2769d0fc3dabb6191b5d3a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapshotdate 20180821
%global debug_package %nil
# this enforces us to create non-noarch package
%global native_dir %_libdir/mozilla/native-messaging-hosts
%global __brp_python_bytecompile :
Name: textern
Version: 0
Release: 0.3.%{snapshotdate}git%{shortcommit}%{?dist}
Summary: Firefox add-on for editing text in your favorite external
editor
License: GPLv3
URL:
https://github.com/jlebon/textern
Source0: %url/archive/%{shortcommit}/%{name}-%{shortcommit}.tar.gz
And
%prep
%autosetup -p1 -n textern-%commit
Note the 0.3 instead of 3 for a pre-release.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component