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