Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec: make proper spec for review #22

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions packaging/git-evtag.spec.in
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
%global commit0 74fb3c0814152de193bac65a53b86a08a25ecb79
%global gittag0 v2016.1
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})

Summary: Strong GPG verification of git tags
Name: git-evtag
Version: 2016.1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in case you use git snapshot - yes, but not when you use released version. also that hardcoded stuff. if you will bump Version tag, you will still download same sources.

Release: 1%{?dist}
#VCS: https://github.com/cgwalters/git-evtag
Source0: https://github.com/cgwalters/git-evtag/archive/%{gittag0}.tar.gz#/%{name}-%{version}.tar.gz

License: LGPLv2+
#VCS: https://github.com/cgwalters/git-evtag
URL: https://github.com/cgwalters/git-evtag
# For autosetup
BuildRequires: git
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

BuildRequires: gcc

# We always run autogen.sh
BuildRequires: autoconf automake libtool

Expand All @@ -26,7 +24,7 @@ git-evtag wraps "git tag" functionality, adding stronger checksums
that cover the complete content.

%prep
%autosetup -Sgit
%autosetup

%build
env NOCONFIGURE=1 ./autogen.sh
Expand Down