]> git.pld-linux.org Git - packages/ipcalc.git/commitdiff
- install to /bin as replacement for the program bundled with rc-scripts, rel 2 auto/th/ipcalc-1.0.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 11 Sep 2021 11:49:01 +0000 (13:49 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 11 Sep 2021 11:49:01 +0000 (13:49 +0200)
ipcalc.spec

index d39e1aec0321f6f9f3bc18bb034bccbc92d22aaa..48dfbb78cc44a940024ffb3606fe71b4ca6147a6 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Address format change and calculation utility
 Summary(pl.UTF-8):     Narzędzie do zmiany formatu i przeliczania adresów
 Name:          ipcalc
 Version:       1.0.1
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Networking/Utilities
 Source0:       https://gitlab.com/ipcalc/ipcalc/-/archive/%{version}/%{name}-%{version}.tar.bz2
@@ -38,13 +38,17 @@ zrozumienia binarnej postaci.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/bin
+
 %ninja_install -C build
 
+%{__mv} $RPM_BUILD_ROOT{%{_bindir},/bin}/ipcalc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README.md NEWS
-%attr(755,root,root) %{_bindir}/ipcalc
+%attr(755,root,root) /bin/ipcalc
 %{_mandir}/man1/ipcalc.1*
This page took 0.110465 seconds and 4 git commands to generate.