Projects
Mega:24.03:SP1:Everything
rubygem-wikicloth
_service:tar_scm:rubygem-wikicloth.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rubygem-wikicloth.spec of Package rubygem-wikicloth
%global gem_name wikicloth Name: rubygem-%{gem_name} Version: 0.8.0 Release: 3 Summary: Mediawiki parser License: MIT URL: https://github.com/nricciar/wikicloth Source0: https://rubygems.org/gems/wikicloth-%{version}.gem Patch0: rubygem-wikicloth-0.8.0-minitest.patch Patch1: rubygem-wikicloth-0.8.3-add-a-condition-to-avoid-FrozenError.patch Patch2: Fix-build-error.patch Patch3: Fix-rubygem-expression_parser-test-failure.patch Requires: ruby(release) ruby(rubygems) rubygem(builder) rubygem(expression_parser) BuildRequires: ruby(release) rubygems-devel rubygem(activesupport) rubygem(builder) BuildRequires: rubygem(expression_parser) rubygem(rexml) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description An implementation of the mediawiki markup in Ruby. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 for f in .gitignore .travis.yml Gemfile Rakefile run_tests.rb tasks/wikicloth_tasks.rake; do rm $f sed -i "s|\"$f\".freeze,||g" %{gem_name}.gemspec done %build gem build %{gem_name}.gemspec %gem_install rm .%{gem_instdir}/%{gem_name}.gemspec %install mkdir -p %{buildroot}%{gem_dir} cp -pa .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} ruby -Ilib test/*_test.rb popd %files %dir %{gem_instdir} %doc %{gem_instdir}/README %doc %{gem_instdir}/README.textile %doc %{gem_instdir}/MIT-LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %{gem_instdir}/init.rb %{gem_instdir}/lang %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/test %{gem_instdir}/examples %{gem_instdir}/sample_documents %changelog * Mon Aug 14 2023 xu_ping <707078654@qq.com.com> - 0.8.0-3 - Fix rubygem-expression_parser test failure caused by ruby upgrade to 3.2.2 * Wed Feb 9 2022 yanan li <liyanan32@huawei.com> - 0.8.0-2 - Fix build error * Sat Aug 8 2020 yanan li <liyanan032@huawei.com> - 0.8.0-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2