From 1d303b3c4c62ae4ee14fdaf9fe18ed35e6d47b1e Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 17 Jan 2021 10:18:12 +0100 Subject: [PATCH] upgrading package: mylg 0.2.6.20180804 -> 0.2.6.20210117 --- mylg/mylg.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mylg/mylg.spec b/mylg/mylg.spec index 2b9b8232d8..94b36176e8 100644 --- a/mylg/mylg.spec +++ b/mylg/mylg.spec @@ -23,7 +23,7 @@ # package version %define V_opkg 0.2.6 -%define V_dist 20180804 +%define V_dist 20210117 # package information Name: mylg @@ -36,7 +36,7 @@ Class: EVAL Group: Networking License: MIT Version: %{V_opkg}.%{V_dist} -Release: 20180804 +Release: 20210117 # list of sources Source0: http://download.openpkg.org/components/versioned/mylg/mylg-%{V_dist}.tar.xz @@ -69,14 +69,16 @@ PreReq: libpcap %build # build program export GOPATH=`pwd` - go build -x -o mylg src/github.com/mehrdadrad/mylg/mylg.go + cd src/github.com/mehrdadrad/mylg + go build -v -o mylg mylg.go %install # install program %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin %{l_shtool} install -c -s -m 755 \ - mylg $RPM_BUILD_ROOT%{l_prefix}/bin/ + src/github.com/mehrdadrad/mylg/mylg \ + $RPM_BUILD_ROOT%{l_prefix}/bin/ # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}