| |
@@ -2,8 +2,8 @@
|
| |
%global gem_name sprite-factory
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 1.7
|
| |
- Release: 8%{?dist}
|
| |
+ Version: 1.7.1
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Automatic CSS sprite generator
|
| |
License: MIT
|
| |
URL: https://github.com/jakesgordon/sprite-factory
|
| |
@@ -30,14 +30,10 @@
|
| |
Documentation for %{name}.
|
| |
|
| |
%prep
|
| |
- gem unpack %{SOURCE0}
|
| |
-
|
| |
- %setup -q -D -T -n %{gem_name}-%{version}
|
| |
-
|
| |
- gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
| |
+ %setup -q -n %{gem_name}-%{version}
|
| |
|
| |
%build
|
| |
- gem build %{gem_name}.gemspec
|
| |
+ gem build ../%{gem_name}-%{version}.gemspec
|
| |
|
| |
%gem_install
|
| |
|
| |
@@ -55,6 +51,11 @@
|
| |
|
| |
%check
|
| |
pushd .%{gem_instdir}
|
| |
+ # Skip faulty test
|
| |
+ # https://github.com/jakesgordon/sprite-factory/issues/37
|
| |
+ sed -i '/^\s*def test_generate_sprite_from_other_formats$/ a skip' \
|
| |
+ test/integration_test.rb
|
| |
+
|
| |
ruby -rminitest/autorun -rrubygems -Ilib:test -e 'Dir.glob("./test/*_test.rb").sort.each { |t| require t }'
|
| |
popd
|
| |
|
| |
@@ -78,6 +79,9 @@
|
| |
%{gem_instdir}/sprite_factory.gemspec
|
| |
|
| |
%changelog
|
| |
+ * Tue Feb 26 2019 Pavel Valena <pvalena@redhat.com> - 1.7.1-1
|
| |
+ - Update to sprite-factory 1.7.1.
|
| |
+
|
| |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-8
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |
Fix FTBFS and update to latest gem version.
https://bugzilla.redhat.com/show_bug.cgi?id=1675957
https://bugzilla.redhat.com/show_bug.cgi?id=1261680
Scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=33915708
Copr build:
https://copr.fedorainfracloud.org/coprs/build/877641/
Checks: