add spec file for delve package
This commit is contained in:
parent
3c92438e1f
commit
9b01addfd1
23
delve.spec
23
delve.spec
@ -4,16 +4,14 @@
|
||||
|
||||
Name: delve
|
||||
Version: 1.4.0
|
||||
Release: 1%{?dist}
|
||||
Release: 1
|
||||
Summary: A debugger for the Go programming language
|
||||
Group: Development/Debuggers
|
||||
License: MIT
|
||||
URL: https://github.com/go-delve/delve
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc
|
||||
BuildRequires: golang >= 1.11
|
||||
BuildRequires: gcc glibc
|
||||
BuildRequires: golang >= 1.11
|
||||
Requires: glibc
|
||||
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
@ -21,12 +19,7 @@ Provides: %{name} = %{version}-%{release}
|
||||
%description
|
||||
delve is a debugger for the Go programming language
|
||||
|
||||
%package help
|
||||
Summary: Documentation and templates for delve
|
||||
BuildArch: noarch
|
||||
|
||||
%description help
|
||||
This package contains documentation for delve.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -35,7 +28,6 @@ This package contains documentation for delve.
|
||||
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -m 0755 _bin/dlv %{buildroot}%{_bindir}/dlv
|
||||
|
||||
@ -44,10 +36,11 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%{_bindir}/dlv
|
||||
|
||||
%files help
|
||||
%license LICENSE
|
||||
%doc CONTRIBUTING.md CHANGELOG.md
|
||||
%doc CONTRIBUTING.md CHANGELOG.md README.md
|
||||
|
||||
|
||||
%files help
|
||||
%doc Documentation/*
|
||||
|
||||
%changelog
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user