Package gem-backports: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | %define _unpackaged_files_terminate_build 1 %def_enable check %def_enable doc %def_enable devel %define gemname backports Name: gem-backports Version: 3.25.2 Release: alt1 Summary: The latest features of Ruby backported to older versions License: MIT Group: Development/Ruby Url: https://github.com/marcandre/backports Vcs: https://github.com/marcandre/backports.git Packager: Baltix Maintaining Team <baltix@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar Autoprov: yes,noruby Autoreq: yes,noruby BuildRequires(pre): rpm-build-ruby %if_enabled check BuildRequires: gem(activesupport) >= 3.2.0 BuildRequires: gem(mspec) >= 0 BuildRequires: gem(rake) >= 0 BuildRequires: gem(test-unit) >= 0 BuildConflicts: gem(activesupport) >= 8 BuildConflicts: gem(rubocop) >= 2 %endif %add_findreq_skiplist %ruby_gemslibdir/**/* %add_findprov_skiplist %ruby_gemslibdir/**/* %ruby_use_gem_dependency rubocop >= 1.15.0,rubocop < 2 %ruby_use_gem_dependency activesupport >= 7.1,activesupport < 8 Obsoletes: ruby-backports < %EVR Provides: ruby-backports = %EVR Provides: gem(backports) = 3.25.2 %description The goal of 'backports' is to make it easier to write ruby code that runs across different versions of Ruby. %if_enabled doc %package -n gem-backports-doc Version: 3.25.2 Release: alt1 Summary: The latest features of Ruby backported to older versions documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета backports Group: Development/Documentation BuildArch: noarch Autoprov: yes,noruby Autoreq: yes,noruby Requires: gem(backports) = 3.25.2 Obsoletes: ruby-backports-doc < %EVR Provides: ruby-backports-doc = %EVR %description -n gem-backports-doc The latest features of Ruby backported to older versions documentation files. The goal of 'backports' is to make it easier to write ruby code that runs across different versions of Ruby. %description -n gem-backports-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета backports. %endif %if_enabled devel %package -n gem-backports-devel Version: 3.25.2 Release: alt1 Summary: The latest features of Ruby backported to older versions development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета backports Group: Development/Ruby BuildArch: noarch Autoprov: yes,noruby Autoreq: yes,noruby Requires: gem(backports) = 3.25.2 Requires: gem(activesupport) >= 3.2.0 Requires: gem(mspec) >= 0 Requires: gem(rake) >= 0 Requires: gem(test-unit) >= 0 Conflicts: gem(activesupport) >= 8 Conflicts: gem(rubocop) >= 2 %description -n gem-backports-devel The latest features of Ruby backported to older versions development package. The goal of 'backports' is to make it easier to write ruby code that runs across different versions of Ruby. %description -n gem-backports-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета backports. %endif %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %doc CHANGELOG.md LICENSE.txt README.md %ruby_gemspec %ruby_gemlibdir %if_enabled doc %files -n gem-backports-doc %doc CHANGELOG.md LICENSE.txt README.md %ruby_gemdocdir %endif %if_enabled devel %files -n gem-backports-devel %doc CHANGELOG.md LICENSE.txt README.md %endif %changelog * Sat Nov 29 2025 Pavel Skrylev <majioa@altlinux.org> 3.25.2-alt1 - ^ 3.24.0 -> 3.25.2 * Wed Mar 08 2023 Andrey Cherepanov <cas@altlinux.org> 3.24.0-alt1 - New version. * Sat Jan 01 2022 Andrey Cherepanov <cas@altlinux.org> 3.23.0-alt1 - New version. * Fri Apr 02 2021 Andrey Cherepanov <cas@altlinux.org> 3.21.0-alt1 - New version. * Thu Jan 28 2021 Andrey Cherepanov <cas@altlinux.org> 3.20.2-alt1 - New version. * Mon Jan 04 2021 Andrey Cherepanov <cas@altlinux.org> 3.20.1-alt1 - New version. * Thu Dec 31 2020 Andrey Cherepanov <cas@altlinux.org> 3.20.0-alt1 - New version. * Mon Dec 28 2020 Andrey Cherepanov <cas@altlinux.org> 3.19.0-alt1 - New version. * Wed Oct 07 2020 Andrey Cherepanov <cas@altlinux.org> 3.18.2-alt1 - New version. - Rename to gem-backports according to Ruby Policy 2.0. * Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 3.7.0-alt1.1 - Rebuild with new Ruby autorequirements. * Wed Mar 29 2017 Denis Medvedev <nbr@altlinux.org> 3.7.0-alt1 - Initial build in sisyphus |