Package gem-overcommit: 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 | %define _unpackaged_files_terminate_build 1 %def_enable check %def_enable doc %def_enable devel %define gemname overcommit Name: gem-overcommit Version: 0.63.0 Release: alt1 Summary: Git hook manager License: MIT Group: Development/Ruby Url: https://github.com/sds/overcommit Vcs: https://github.com/sds/overcommit.git Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> BuildArch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-ruby %if_enabled check BuildRequires: gem(rspec) >= 3.0 BuildRequires: gem(simplecov) >= 0.17 BuildRequires: gem(simplecov-lcov) >= 0.8.0 BuildRequires: gem(rubocop) >= 1.15.0 BuildRequires: gem(childprocess) >= 0.6.3 BuildRequires: gem(iniparse) >= 1.4 BuildRequires: gem(rexml) >= 3.2 BuildConflicts: gem(rspec) >= 4 BuildConflicts: gem(simplecov) >= 1 BuildConflicts: gem(simplecov-lcov) >= 0.9 BuildConflicts: gem(rubocop) >= 2 BuildConflicts: gem(childprocess) >= 6 BuildConflicts: gem(iniparse) >= 2 BuildConflicts: gem(rexml) >= 4 %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 simplecov >= 0.17,simplecov < 1 Requires: gem(childprocess) >= 0.6.3 Requires: gem(iniparse) >= 1.4 Requires: gem(rexml) >= 3.2 Conflicts: gem(childprocess) >= 6 Conflicts: gem(iniparse) >= 2 Conflicts: gem(rexml) >= 4 Provides: gem(overcommit) = 0.63.0 %description Utility to install, configure, and extend Git hooks %package -n overcommit Version: 0.63.0 Release: alt1 Summary: Git hook manager executable(s) Summary(ru_RU.UTF-8): Исполнямка для самоцвета overcommit Group: Other BuildArch: noarch Requires: gem(overcommit) = 0.63.0 %description -n overcommit Git hook manager executable(s). Utility to install, configure, and extend Git hooks %description -n overcommit -l ru_RU.UTF-8 Исполнямка для самоцвета overcommit. %if_enabled doc %package -n gem-overcommit-doc Version: 0.63.0 Release: alt1 Summary: Git hook manager documentation files Summary(ru_RU.UTF-8): Файлы сведений для самоцвета overcommit Group: Development/Documentation BuildArch: noarch Requires: gem(overcommit) = 0.63.0 %description -n gem-overcommit-doc Git hook manager documentation files. Utility to install, configure, and extend Git hooks %description -n gem-overcommit-doc -l ru_RU.UTF-8 Файлы сведений для самоцвета overcommit. %endif %if_enabled devel %package -n gem-overcommit-devel Version: 0.63.0 Release: alt1 Summary: Git hook manager development package Summary(ru_RU.UTF-8): Файлы для разработки самоцвета overcommit Group: Development/Ruby BuildArch: noarch Requires: gem(overcommit) = 0.63.0 Requires: gem(rspec) >= 3.0 Requires: gem(simplecov) >= 0.17 Requires: gem(simplecov-lcov) >= 0.8.0 Requires: gem(rubocop) >= 1.15.0 Conflicts: gem(rspec) >= 4 Conflicts: gem(simplecov) >= 1 Conflicts: gem(simplecov-lcov) >= 0.9 Conflicts: gem(rubocop) >= 2 %description -n gem-overcommit-devel Git hook manager development package. Utility to install, configure, and extend Git hooks %description -n gem-overcommit-devel -l ru_RU.UTF-8 Файлы для разработки самоцвета overcommit. %endif %prep %setup %build %ruby_build %install %ruby_install %check %ruby_test %files %ruby_gemspec %ruby_gemlibdir %files -n overcommit %_bindir/overcommit %if_enabled doc %files -n gem-overcommit-doc %ruby_gemdocdir %endif %if_enabled devel %files -n gem-overcommit-devel %endif %changelog * Thu Apr 18 2024 Pavel Skrylev <majioa@altlinux.org> 0.63.0-alt1 - ^ 0.60.0 -> 0.63.0 * Sat Feb 04 2023 Pavel Skrylev <majioa@altlinux.org> 0.60.0-alt1 - + packaged gem with Ruby Policy 2.0 |