Projects
Eulaceura:Factory
rubygem-sassc-rails
_service:obs_scm:rubygem-sassc-rails.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-sassc-rails.spec of Package rubygem-sassc-rails
%global gem_name sassc-rails # Because of circular dependency with sass-rails %bcond_without bootstrap Name: rubygem-%{gem_name} Version: 2.1.2 Release: 3 Summary: Integrate SassC-Ruby into Rails # SIL license found in # test/dummy/app/assets/stylesheets/erb_render_with_context.css.erb # https://github.com/sass/sassc-rails/issues/155 License: MIT URL: https://github.com/sass/sassc-rails Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Patch0: fix-build-error-with-rubygem-mocha-1.1.0.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby rubygem(did_you_mean) %if %{without bootstrap} BuildRequires: rubygem(mocha) BuildRequires: rubygem(sprockets-rails) BuildRequires: rubygem(sass-rails) BuildRequires: rubygem(sassc) BuildRequires: rubygem(railties) BuildRequires: rubygem(tilt) %endif BuildArch: noarch %description Integrate SassC-Ruby into Rails. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %patch0 -p1 %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %if %{without bootstrap} %check pushd .%{gem_instdir} # Copy in .gemspec and use the sass-rails sources cp %{buildroot}%{gem_spec} sassc-rails.gemspec sed -i -e '/require .pry./ s/^/#/' test/test_helper.rb sed -i -e '/dependency.*pry./ s/^/#/' \ -e '/dependency.*rake./ s/^/#/' \ sassc-rails.gemspec sed -i -e '/Bundler\.require/ s/^/#/' \ -e '/require .bundler./ s/^/#/' \ test/test_helper.rb ruby -Ilib:test -rsass-rails -rsprockets/railtie \ -e 'Dir.glob "./test/**/*.rb", &method(:require)' popd %endif %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/sassc-rails.gemspec %{gem_instdir}/test %{gem_instdir}/gemfiles %doc %{gem_instdir}/CODE_OF_CONDUCT.md %changelog * Thu Feb 09 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.1.2-3 - Fix build error * Thu Mar 24 2022 liyanan <liyanan32@huawei.com> - 2.1.2-2 - fix build error * Wed Mar 2 2022 caodongxia <caodongxia@huawei.com> - 2.1.2-1 - Init package.
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