Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gdu.spec #321

Merged
merged 1 commit into from
Feb 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions gdu.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Name: gdu
Version: 5.25.0
Release: 3%{?dist}
Version: 5.27.0
Release: 1
Summary: Pretty fast disk usage analyzer written in Go

License: MIT
URL: https://github.com/dundee/gdu

Source0: %{name}-%{version}.tar.gz
Source0: https://github.com/dundee/gdu/archive/refs/tags/%{version}.tar.gz

BuildRequires: golang
BuildRequires: systemd-rpm-macros
Expand All @@ -20,8 +20,7 @@ Pretty fast disk usage analyzer written in Go.
%global debug_package %{nil}

%prep
%autosetup

%autosetup -n %{name}

%build
GO111MODULE=on CGO_ENABLED=0 go build \
Expand All @@ -33,14 +32,14 @@ GO111MODULE=on CGO_ENABLED=0 go build \
%if 0%{?fedora} || 0%{?amzn}
"-linkmode=external \
-s -w \
-X 'github.com/dundee/gdu/v5/build.Version=v%{version}' \
-X 'github.com/dundee/gdu/v5/build.Version=$(git describe)' \
-X 'github.com/dundee/gdu/v5/build.User=$(id -u -n)' \
-X 'github.com/dundee/gdu/v5/build.Time=$(LC_ALL=en_US.UTF-8 date)'" \
-o %{name} github.com/dundee/gdu/v5/cmd/gdu
%endif
%if 0%{?rhel}
"-s -w \
-X 'github.com/dundee/gdu/v5/build.Version=v%{version}' \
-X 'github.com/dundee/gdu/v5/build.Version=$(git describe)' \
-X 'github.com/dundee/gdu/v5/build.User=$(id -u -n)' \
-X 'github.com/dundee/gdu/v5/build.Time=$(LC_ALL=en_US.UTF-8 date)'" \
-o %{name} github.com/dundee/gdu/v5/cmd/gdu
Expand All @@ -63,7 +62,19 @@ install -Dpm 0755 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/gdu.1
%{_mandir}/man1/gdu.1.gz

%changelog
* Fri Dec 1 2023 Danie de Jager - 5.25.0-3
* Sun Feb 18 2024 Danie de Jager - 5.27.0-1
- feat: export in interactive mode by @kadogo in #298
- feat: handle vim-style navigation in confirmation by @samihda in #283
- fix: panic with Interface Conversion Nil Error by @ShivamB25 in #274
- fix: Enter key properly working when reading analysis from file by @dundee in #312
- fix: check if type matches for selected device by @dundee in #318
- ci: package gdu in docker container by @rare-magma in #313
- ci: add values for building gdu with tito by @daniejstriata in #288
- ci: change Winget Releaser job to ubuntu-latest by @sitiom in #271
* Tue Feb 13 2024 Danie de Jager - 5.26.0-1
- feat: use key-value store for analysis data in #297
- feat: use profile-guided optimization in #286
* Fri Dec 1 2023 Danie de Jager - 5.25.0-2
- Improved SPEC to build on AL2023.
* Tue Jun 6 2023 Danie de Jager - 5.25.0-1
- feat: use unicode block elements in size bar in #255
Expand Down
Loading