Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit 5b38312

Browse files
sumitgarg44carlwgeorge
authored andcommitted
Port from Fedora to IUS
1 parent d9ef05c commit 5b38312

File tree

4 files changed

+108
-181
lines changed

4 files changed

+108
-181
lines changed

.cirrus.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
task:
2+
only_if: $CIRRUS_TAG == ''
3+
env:
4+
RELEASEVER: 7
5+
name: el$RELEASEVER
6+
container:
7+
image: centos:$RELEASEVER
8+
macros_script: |
9+
cat > $HOME/.rpmmacros << EOF
10+
%_sourcedir $PWD
11+
%_specdir $PWD
12+
%dist .el$RELEASEVER.ius
13+
%vendor IUS
14+
EOF
15+
epel_script: yum --assumeyes install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
16+
toolchain_script: yum --assumeyes install yum-utils rpmdevtools @buildsys-build
17+
ius_script: yum --assumeyes install https://repo.ius.io/ius-release-el$(rpm -E %rhel).rpm
18+
sources_script: spectool --get-files $CIRRUS_REPO_NAME.spec
19+
srpm_script: rpmbuild -bs $CIRRUS_REPO_NAME.spec
20+
builddep_script: yum-builddep --assumeyes $HOME/rpmbuild/SRPMS/$CIRRUS_REPO_NAME-*.src.rpm
21+
rpm_script: rpmbuild -bb $CIRRUS_REPO_NAME.spec
22+
gather_script:
23+
- mv --verbose $HOME/rpmbuild/SRPMS/*.src.rpm .
24+
- mv --verbose $HOME/rpmbuild/RPMS/*/*.rpm .
25+
results_artifacts:
26+
path: '*.rpm'

.gitignore

-98
This file was deleted.

0 commit comments

Comments
 (0)