Skip to content

Commit

Permalink
Merge pull request #74 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Update spec
  • Loading branch information
andyone authored Jun 23, 2024
2 parents d815750 + 110f098 commit a12def6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions common/path.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Summary: Dead simple tool for working with paths
Name: path
Version: 1.0.1
Version: 1.0.2
Release: 0%{?dist}
Group: Applications/System
License: Apache License, Version 2.0
Expand All @@ -37,13 +37,15 @@ Dead simple tool for working with paths.
%{crc_check}

%setup -q

%build
if [[ ! -d "%{name}/vendor" ]] ; then
echo "This package requires vendored dependencies"
echo -e "----\nThis package requires vendored dependencies\n----"
exit 1
elif [[ -f "%{name}/%{name}" ]] ; then
echo -e "----\nSources must not contain precompiled binaries\n----"
exit 1
fi

%build
pushd %{name}
go build %{name}.go
cp LICENSE ..
Expand Down Expand Up @@ -101,6 +103,10 @@ fi
################################################################################

%changelog
* Sun Jun 23 2024 Anton Novojilov <[email protected]> - 1.0.2-0
- Code refactoring
- Dependencies update

* Thu Mar 28 2024 Anton Novojilov <[email protected]> - 1.0.1-0
- Improved support information gathering
- Code refactoring
Expand Down

0 comments on commit a12def6

Please sign in to comment.