generated from demus/basic-rpm-template
First packaging
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build and deploy an rpm to the demus.dk repo (f42) (release) Has been cancelled
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build and deploy an rpm to the demus.dk repo (f43) (release) Has been cancelled
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build and deploy an rpm to the demus.dk repo (rawhide) (release) Has been cancelled
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build src rpm and send it to COPR (f42) (release) Successful in 1m41s
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build src rpm and send it to COPR (rawhide) (release) Successful in 2m10s
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build src rpm and send it to COPR (f43) (release) Successful in 1m40s
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build and deploy an rpm to the demus.dk repo (f42) (release) Has been cancelled
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build and deploy an rpm to the demus.dk repo (f43) (release) Has been cancelled
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build and deploy an rpm to the demus.dk repo (rawhide) (release) Has been cancelled
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build src rpm and send it to COPR (f42) (release) Successful in 1m41s
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build src rpm and send it to COPR (rawhide) (release) Successful in 2m10s
Build and provide rpm of bats-mock-buildkite-plugins-rpm / Build src rpm and send it to COPR (f43) (release) Successful in 1m40s
This commit is contained in:
@@ -19,3 +19,5 @@ tags
|
||||
# Persistent undo
|
||||
[._]*.un~
|
||||
|
||||
|
||||
.idea/
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# basic-rpm-template
|
||||
# bats-mock-jasonkern
|
||||
|
||||
A template that only contains the copr and rpm builder workflow files
|
||||
Mocking/stubbing library for BATS (Bash Automated Testing System)
|
||||
|
||||
This the version from https://github.com/buildkite-plugins/bats-mock.
|
||||
@@ -0,0 +1,47 @@
|
||||
%global variant buildkite-plugins
|
||||
%global upstreamname bats-mock
|
||||
%global bats_libdir %{_batslibdir}/%{upstreamname}
|
||||
|
||||
Name: %{upstreamname}+%{variant}
|
||||
Version: 2.2.0
|
||||
Release: %autorelease
|
||||
Summary: Bash Automated Testing System mocking helper
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/%{variant}/%{upstreamname}
|
||||
Source0: https://github.com/%{variant}/%{upstreamname}/archive/v%{version}.tar.gz
|
||||
Source1: load.bash
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: bats-filesystem parallel
|
||||
BuildRequires: bats-filesystem
|
||||
Provides: %{upstreamname}
|
||||
Conflicts: %{upstreamname}+jasonkerns
|
||||
|
||||
%description
|
||||
Bats is a TAP-compliant testing framework for Bash. It provides a simple way to
|
||||
verify that the UNIX programs you write behave as expected. Bats is most useful
|
||||
when testing software written in Bash, but you can use it to test any UNIX
|
||||
program.
|
||||
|
||||
Mocking/stubbing library for BATS.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{upstreamname}-%{version} -p1
|
||||
|
||||
%install
|
||||
%{__install} -D -m 0644 -t %{buildroot}%{bats_libdir} %{SOURCE1}
|
||||
%{__install} -D -m 0644 -t %{buildroot}%{bats_libdir}/src stub.bash
|
||||
%{__install} -D -m 0755 -t %{buildroot}%{bats_libdir}/src binstub
|
||||
|
||||
%check
|
||||
bats tests
|
||||
|
||||
%files
|
||||
%doc README.md CODE_OF_CONDUCT.md
|
||||
%license LICENSE
|
||||
%{bats_libdir}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user