From c4ea91aef436ceab6eae653a8ade2eaebf8371fe Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Tue, 30 Aug 2022 09:26:58 +0200 Subject: [PATCH] Update to 1.1 - Closes rhbz#2122511 --- .gitignore | 1 + shdoc.spec | 14 ++++---------- sources | 2 +- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 9a3fdec..a15094b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /shdoc-b64998d.tar.gz +/shdoc-1.1.tar.gz diff --git a/shdoc.spec b/shdoc.spec index dc11f6a..5ad233c 100644 --- a/shdoc.spec +++ b/shdoc.spec @@ -1,17 +1,11 @@ -%global commit b64998d1a463775501a70d125b4d2ae0c4f0a820 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global snapinfo 20220827git%{shortcommit} - Name: shdoc -# Requested info about release plans -# https://github.com/reconquest/shdoc/issues/55 -Version: 0 -Release: %autorelease -s %{snapinfo} +Version: 1.1 +Release: %autorelease Summary: Documentation generator for bash/zsh/sh for generating documentation in Markdown License: MIT URL: https://github.com/reconquest/shdoc -Source0: https://github.com/reconquest/shdoc/archive/%{commit}/shdoc-%{shortcommit}.tar.gz +Source0: https://github.com/reconquest/shdoc/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch Requires: gawk @@ -24,7 +18,7 @@ shdoc parses annotations in the beginning of a given file and alongside function definitions, and creates a markdown file with ready to use documentation. %prep -%autosetup -n shdoc-%{commit} +%autosetup %install mkdir -p %{buildroot}%{_bindir} diff --git a/sources b/sources index f7c457b..492ebfc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shdoc-b64998d.tar.gz) = 5693047c741e330a5b4b05cc05f9769be42ba1ec4be7448cc579bc63ae2b8a9d0ae94b100029764590e7f1222eba1779ecd52db6c235a328c09a5245452b503c +SHA512 (shdoc-1.1.tar.gz) = f5dc1be88d21abeb24de6d31a9e5fbc0797283daae3a706513f08d9c3428ec212594359ccc7a043ff7c749d178fa3209e7b88cb326adb0dab2641cacc9a85755