Skip to content

Commit

Permalink
Use common build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jc21 committed Jun 25, 2024
1 parent 4c8e118 commit 0faee3a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 133 deletions.
10 changes: 3 additions & 7 deletions Jenkinsfile.centos7 → Jenkinsfile.el8
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pipeline {
ansiColor('xterm')
}
agent {
label 'rpmbuild'
label 'rpm'
}
stages {
stage('Build') {
steps {
sh './build 7'
}
}
stage('Sign') {
steps {
rpmBuild(8)
rpmSign()
}
}
Expand All @@ -28,7 +24,7 @@ pipeline {
dir(path: 'SRPMS') {
archiveArtifacts(artifacts: '**/*.src.rpm', caseSensitive: true, onlyIfSuccessful: true, allowEmptyArchive: true)
}
rpmGithubRelease('centos7')
rpmGithubRelease('el8')
}
}
}
Expand Down
10 changes: 3 additions & 7 deletions Jenkinsfile.centos8 → Jenkinsfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ pipeline {
ansiColor('xterm')
}
agent {
label 'rpmbuild'
label 'rpm'
}
stages {
stage('Build') {
steps {
sh './build 8'
}
}
stage('Sign') {
steps {
rpmBuild(9)
rpmSign()
}
}
Expand All @@ -28,7 +24,7 @@ pipeline {
dir(path: 'SRPMS') {
archiveArtifacts(artifacts: '**/*.src.rpm', caseSensitive: true, onlyIfSuccessful: true, allowEmptyArchive: true)
}
rpmGithubRelease('centos8')
rpmGithubRelease('el9')
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# [ncdu](https://dev.yorhel.nl/ncdu)

Builds for Centos 7/8 hosted on [yum.jc21.com](https://yum.jc21.com)
Builds for Enterprise Linux hosted on [yum.jc21.com](https://yum.jc21.com)
7 changes: 5 additions & 2 deletions SPECS/ncdu.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%global debug_package %{nil}

Name: ncdu
Version: 2.2.1
Release: 1
Version: 2.4
Release: 1%{?dist}
Summary: Ncdu is a disk usage analyzer with an ncurses interface
Group: Applications/System
License: GPLv2
Expand Down Expand Up @@ -32,5 +32,8 @@ rm -rf %{buildroot}
/usr/bin/%{name}

%changelog
* Tue Jun 25 2024 Jamie Curnow <jc@jc21.com> - 2.4-1
- v2.4

* Thu Dec 8 2022 Jamie Curnow <jc@jc21.com> - 2.2.1-1
- Initial spec
115 changes: 0 additions & 115 deletions build

This file was deleted.

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": "ncdu",
"GH_USER": "jc21-rpm",
"VERSION": "2.2.1"
"VERSION": "2.4"
}
}

0 comments on commit 0faee3a

Please sign in to comment.