## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # some tests are failing and there isn't a straightforward way to disable them %bcond_with check %global salsa_commit e31f66758a2342415b74791c9080691f5f705b75 Name: rbenv Version: 1.2.0 Release: %autorelease Summary: Manage your app's Ruby environment License: MIT URL: https://github.com/rbenv/rbenv Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: https://salsa.debian.org/ruby-team/rbenv/-/raw/%{salsa_commit}/debian/rbenv.pod BuildRequires: gcc BuildRequires: make BuildRequires: perl-podlators %if %{with check} BuildRequires: bats BuildRequires: git %endif Recommends: ruby-build-rbenv %description Use rbenv to pick a Ruby version for your application and guarantee that your development environment matches production. Put rbenv to work with Bundler for painless Ruby upgrades and bulletproof deployments. %prep %autosetup %build pushd src %configure %make_build %install mkdir -p %{buildroot}%{_libdir}/rbenv cp -a completions libexec rbenv.d %{buildroot}%{_libdir}/rbenv mkdir -p %{buildroot}%{_bindir} ln -s %{_libdir}/rbenv/libexec/rbenv %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 pod2man -c "" -r "" %SOURCE1 > %{buildroot}%{_mandir}/man1/rbenv.1 %if %{with check} %check bats test %endif %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_libdir}/%{name} %{_mandir}/man1/%{name}.1* %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Oct 13 2022 Davide Cavalca - 1.2.0-1 - Initial import; Fixes: RHBZ#2025074 ## END: Generated by rpmautospec