Skip to content

Commit 36c9ddd

Browse files
committed
[Packaging] Modernize Specfile (#145)
2 parents e7f8932 + eba962e commit 36c9ddd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Nazara.spec

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,20 @@
1616

1717
Name: Nazara
1818
Version: 0.1.0
19-
Release: 0.1
19+
Release: 0
2020
Summary: Automated registration and update of machines and VMs in NetBox
2121
License: GPL-3.0
22-
Group: Development/Tools/Other
2322
URL: https://github.com/The-Nazara-Project/Nazara
2423
Source0: Nazara-%{version}.tar.zst
2524
Source1: vendor.tar.zst
2625
BuildRequires: git
27-
BuildRequires: cargo
2826
BuildRequires: cargo-packaging
2927
BuildRequires: pkgconfig(openssl)
3028

3129
# the name of the actual binary
3230
%define bin_name nazara
3331

3432
%description
35-
3633
Nazara is a CLI application written in Rust to register and update machines and VMs in NetBox automatically.
3734

3835
%prep
@@ -44,7 +41,7 @@ Nazara is a CLI application written in Rust to register and update machines and
4441
%install
4542
# manually
4643
install -D -d -m 0755 %{buildroot}%{_bindir}
47-
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{bin_name} %{buildroot}%{_bindir}/%{bin_name}
44+
install -D -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{bin_name} %{buildroot}%{_bindir}/%{bin_name}
4845

4946

5047
%files

0 commit comments

Comments
 (0)