-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from essentialkaos/develop
Version 1.0.0
- Loading branch information
Showing
5 changed files
with
120 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
language: go | ||
|
||
go: | ||
- 1.12.x | ||
- 1.13.x | ||
- 1.14.x | ||
- 1.15.x | ||
- tip | ||
|
||
os: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
Summary: Simple utility for counting unique lines | ||
Name: uc | ||
Version: 0.0.2 | ||
Version: 1.0.0 | ||
Release: 0%{?dist} | ||
Group: Applications/System | ||
License: Apache License, Version 2.0 | ||
|
@@ -20,7 +20,7 @@ Source0: https://source.kaos.st/%{name}/%{name}-%{version}.tar.bz2 | |
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: golang >= 1.11 | ||
BuildRequires: golang >= 1.14 | ||
|
||
Provides: %{name} = %{version}-%{release} | ||
|
||
|
@@ -42,8 +42,12 @@ go build src/github.com/essentialkaos/%{name}/%{name}.go | |
rm -rf %{buildroot} | ||
|
||
install -dm 755 %{buildroot}%{_bindir} | ||
install -dm 755 %{buildroot}%{_mandir}/man1 | ||
|
||
install -pm 755 %{name} %{buildroot}%{_bindir}/ | ||
|
||
./%{name} --generate-man > %{buildroot}%{_mandir}/man1/%{name}.1 | ||
|
||
%clean | ||
rm -rf %{buildroot} | ||
|
||
|
@@ -52,11 +56,16 @@ rm -rf %{buildroot} | |
%files | ||
%defattr(-,root,root,-) | ||
%doc LICENSE | ||
%{_mandir}/man1/%{name}.1.* | ||
%{_bindir}/%{name} | ||
|
||
################################################################################ | ||
|
||
%changelog | ||
* Thu Oct 22 2020 Anton Novojilov <[email protected]> - 1.0.0-0 | ||
- Added possibility to define -m/--max option as number with K and M | ||
- Added man page generation | ||
|
||
* Fri Jan 31 2020 Anton Novojilov <[email protected]> - 0.0.2-0 | ||
- Added option -m/--max for defining maximum unique lines to process | ||
- Added option -d/--dist for printing data distribution | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters