Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jc21 committed Aug 31, 2021
1 parent b403baf commit b41641b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ SRPMS
DEPS
BUILD
BUILDROOT

SOURCES
16 changes: 8 additions & 8 deletions SPECS/prettyping.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
%global debug_package %{nil}

%global gh_user denilsonsa

Name: prettyping
Version: 1.0.1
Release: 1%{?dist}
Summary: prettyping is a wrapper around the standard ping tool, making the output prettier, more colorful, more compact, and easier to read.
License: MIT
URL: https://github.com/denilsonsa/%{name}
URL: https://github.com/%{gh_user}/%{name}
Source: https://github.com/%{gh_user}/%{name}/archive/v%{version}.tar.gz
BuildArch: noarch
Requires: bash >= 3.0

Expand All @@ -19,22 +22,19 @@ systems (Linux, Mac OS X, BSD…), as well as running on different versions of a
(gawk, mawk, nawk, busybox awk).

%prep
wget https://github.com/denilsonsa/%{name}/archive/v%{version}.tar.gz
tar xzf v%{version}.tar.gz
%setup -q -n %{name}-%{version}

%build
cd %{name}-%{version}
sed 's,/usr/bin/env bash,/bin/bash,g' -i prettyping

%install
mkdir -p %{buildroot}/usr/bin
install -m755 %{name}-%{version}/%{name} %{buildroot}/usr/bin
install -m755 %{name} %{buildroot}/usr/bin

%files
%{_bindir}/%{name}
%doc %{name}-%{version}/README.md
%doc README.md

%changelog
* Fri Aug 31 2018 Jamie Curnow <[email protected]> - 1.0.1-1
- Initial spec

- https://github.com/denilsonsa/prettyping/releases/tag/v1.0.1

0 comments on commit b41641b

Please sign in to comment.