Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Oct 28, 2023
1 parent 03377d6 commit 4811435
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
31 changes: 31 additions & 0 deletions rpmbuild/SOURCES/pull-126-bump-specinfra-v2.87.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 228b540a853a357dc1e6978309b5eb16ecfed06d Mon Sep 17 00:00:00 2001
From: ICHINOSE Shogo <[email protected]>
Date: Sat, 28 Oct 2023 00:31:30 +0900
Subject: [PATCH] bump specinfra v2.87.0 from v2.83.3

- Support Amazon Linux 2022 https://github.com/mizzy/specinfra/pull/738
- Replace obsolete File.exists? with File.exist? https://github.com/mizzy/specinfra/pull/739
- Add Guix support https://github.com/mizzy/specinfra/pull/740
- add KDE Neon support https://github.com/mizzy/specinfra/pull/742
- Add VyOS Support https://github.com/mizzy/specinfra/pull/743
- Add support for Amazon Linux 2023 https://github.com/mizzy/specinfra/pull/744

https://github.com/mizzy/specinfra/compare/v2.83.4...v2.87.0
https://github.com/itamae-kitchen/mruby-specinfra/compare/2a66b88cf87143b7d0ee8ab28ca3cbd69ad367cf...aa98e3e9aa89f9a305cf0f875bfe76a6fff905e6
---
build_config.rb.lock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build_config.rb.lock b/build_config.rb.lock
index a5e603d..db17cf7 100644
--- a/build_config.rb.lock
+++ b/build_config.rb.lock
@@ -57,7 +57,7 @@ builds:
https://github.com/k0kubun/mruby-specinfra.git:
url: https://github.com/k0kubun/mruby-specinfra.git
branch: master
- commit: 2a66b88cf87143b7d0ee8ab28ca3cbd69ad367cf
+ commit: aa98e3e9aa89f9a305cf0f875bfe76a6fff905e6
version: 0.0.0
https://github.com/k0kubun/mruby-tempfile.git:
url: https://github.com/k0kubun/mruby-tempfile.git
15 changes: 10 additions & 5 deletions rpmbuild/SPECS/mitamae.spec
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
Summary: mitamae is a fast, simple, and single-binary configuration management tool with a DSL like Chef
Name: mitamae
Version: 1.14.0
Release: 2
Release: 3
URL: https://github.com/itamae-kitchen/mitamae
Source0: https://github.com/itamae-kitchen/mitamae/archive/refs/tags/v%{version}.tar.gz
Patch0: pull-126-bump-specinfra-v2.87.0.patch
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: ruby
BuildRequires: patch
BuildRequires: git
BuildRequires: wget
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: git
BuildRequires: libtool
BuildRequires: patch
BuildRequires: ruby
BuildRequires: wget

%description
mitamae is a tool to automate configuration management using a Chef-like DSL powered by mruby.
Expand All @@ -29,6 +30,7 @@ Single Binary - mitamae can be deployed by just transferring a single binary to
%build
tar xvf %{SOURCE0}
cd mitamae-%{version}
patch -p1 < %{PATCH0}
bundle install
bundle exec rake release:build:linux-%{_build_arch}

Expand All @@ -44,6 +46,9 @@ rm -rf %{buildroot}
%{_bindir}/mitamae

%changelog
* Sat Oct 28 2023 ICHINOSE Shogo <[email protected]> - 1.14.0-3
- improve Amazon Linux 2023 detection

* Thu Oct 26 2023 ICHINOSE Shogo <[email protected]> - 1.14.0-2
- add Amazon Linux 2023 distribution

Expand Down

0 comments on commit 4811435

Please sign in to comment.