Skip to content

Commit a5e0bf2

Browse files
committed
Fix atuin specfile
1 parent cb1ad97 commit a5e0bf2

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

specs/atuin.spec

+11-14
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,32 @@ Release: 1%{?dist}
66
Summary: ✨ Magical shell history
77

88
License: MIT
9-
# https://github.com/atuinsh/atuin/releases/download/v18.3.0/atuin-x86_64-unknown-linux-musl.tar.gz
109
URL: https://github.com/atuinsh/atuin
1110
Source: %{url}/releases/download/v%{version}/%{name}-x86_64-unknown-linux-musl.tar.gz
1211
Source1: https://raw.githubusercontent.com/atuinsh/atuin/v%{version}/README.md
13-
#Source2: https://raw.githubusercontent.com/jdx/mise/v%{version}/completions/mise.bash
14-
#Source3: https://raw.githubusercontent.com/jdx/mise/v%{version}/completions/mise.fish
12+
Source2: https://raw.githubusercontent.com/atuinsh/atuin/v%{version}/CHANGELOG.md
13+
14+
BuildRequires: glibc
15+
BuildRequires: gcc
16+
BuildRequires: python3-kobo-rpmlib
1517

1618
%description
17-
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.
19+
Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands.
20+
Additionally, it provides optional and fully encrypted synchronization of your history between machines, via an Atuin server.
1821

1922
%prep
20-
%autosetup -n atuin
21-
23+
%autosetup -c
2224
cp %{SOURCE1} CONFIGURATION.md
23-
#cp %{SOURCE2} .
24-
#cp %{SOURCE3} .
25+
cp %{SOURCE2} .
2526

2627
%build
2728

2829
%install
2930
# Ensure the source binary is in the expected location
30-
install -p -D %{name} %{buildroot}%{_bindir}/%{name}
31+
install -p -D %{name}-x86_64-unknown-linux-musl/%{name} %{buildroot}%{_bindir}/%{name}
3132

32-
# Shell completions
33-
#install -pvD -m 0644 %{name}.bash %{buildroot}%{bash_completions_dir}/%{name}
34-
#install -pvD -m 0644 %{name}.fish %{buildroot}%{fish_completions_dir}/%{name}.fish
3533

3634
%files
3735
%doc CONFIGURATION.md
36+
%doc CHANGELOG.md
3837
%{_bindir}/%{name}
39-
#%{bash_completions_dir}/%{name}
40-
#%{fish_completions_dir}/%{name}.fish

0 commit comments

Comments
 (0)