Skip to content

Commit

Permalink
Rpm improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Curnow committed Jan 13, 2020
1 parent 3231cf6 commit 61e1421
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 59 deletions.
53 changes: 0 additions & 53 deletions Jenkinsfile.centos6

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [exa](https://github.com/ogham/exa)

Builds for Centos 6/7 hosted on [yum.jc21.com](https://yum.jc21.com)
Builds for Centos 7/8 hosted on [yum.jc21.com](https://yum.jc21.com)

8 changes: 4 additions & 4 deletions SPECS/exa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Group: Applications/System
License: GPLv2
URL: https://github.com/ogham/exa
BuildRequires: cmake, libgit2, openssl-devel
Source: https://github.com/ogham/exa/archive/v%{version}.tar.gz

%{?el7:BuildRequires: cargo, rust}

Expand All @@ -22,20 +23,19 @@ fast, and portable.

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


# buildserver
%build
cd %{name}-%{version}
make


# buildserver
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/bin
cp %{name}-%{version}/target/release/exa %{buildroot}/usr/bin/
cp target/release/exa %{buildroot}/usr/bin/


# after build on build server
Expand Down
2 changes: 1 addition & 1 deletion rpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"publish": {
"PACKAGE": "exa",
"GH_USER": "jc21-rpm",
"VERSION": "0.8.0"
"VERSION": "0.9.0"
}
}

0 comments on commit 61e1421

Please sign in to comment.