Skip to content

Commit

Permalink
Fixes #24919 - Bump rubygem-wicked to 1.3.3-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl authored and ehelms committed Sep 26, 2018
1 parent 686d999 commit d3d138a
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 54 deletions.
109 changes: 56 additions & 53 deletions packages/plugins/rubygem-wicked/rubygem-wicked.spec
@@ -1,94 +1,97 @@
# Generated from wicked-1.3.3.gem by gem2rpm -*- rpm-spec -*-
# template: scl
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}

%global gem_name wicked

%define _version 1.3.2
%define _summary Wicked is a Rails engine for producing easy wizard controllers
%define _url https://github.com/schneems/wicked
%define _license MIT

%define desc Wicked is a Rails engine for producing easy wizard controllers

Name: %{?scl_prefix}rubygem-%{gem_name}
Version: %{_version}
Release: 2%{?dist}
Summary: %{_summary}
Group: Development/Languages
License: %{_license}
URL: %{_url}
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}

Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}rubygems
Requires: %{?scl_prefix_ror}rubygem(railties) >= 3.0.7

Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 1.3.3
Release: 1%{?dist}
Summary: Use Wicked to turn your controller into a wizard
Group: Development/Languages
License: MIT
URL: https://github.com/schneems/wicked
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

# start generated dependencies
Requires: %{?scl_prefix_ruby}ruby(release)
Requires: %{?scl_prefix_ruby}ruby
Requires: %{?scl_prefix_ruby}ruby(rubygems)
Requires: %{?scl_prefix_ror}rubygem(railties) >= 3.0.7
BuildRequires: %{?scl_prefix_ruby}ruby(release)
BuildRequires: %{?scl_prefix_ruby}ruby
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
BuildRequires: %{?scl_prefix_ruby}rubygems
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
# end generated dependencies

%description
%{desc}
Wicked is a Rails engine for producing easy wizard controllers.

%package doc

%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
BuildArch: noarch
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
Summary: Documentation for %{pkg_name}

%description doc
This package contains documentation for %{pkg_name}
Documentation for %{pkg_name}.

%prep
%{?scl:scl enable %{scl} "}
%{?scl:scl enable %{scl} - << \EOF}
gem unpack %{SOURCE0}
%{?scl:"}
%setup -q -D -T -n %{gem_name}-%{version}
%{?scl:EOF}
%setup -q -D -T -n %{gem_name}-%{version}
%{?scl:scl enable %{scl} "}
%{?scl:scl enable %{scl} - << \EOF}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%{?scl:"}
%{?scl:EOF}
%build
%{?scl:scl enable %{scl} "}
# Create the gem as gem install only works on a gem file
%{?scl:scl enable %{scl} - << \EOF}
gem build %{gem_name}.gemspec
%{?scl:"}
%{?scl:EOF}
%{?scl:scl enable %{scl} - <<EOF}
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%{?scl:scl enable %{scl} - << \EOF}
%gem_install
%{?scl:EOF}
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%dir %{gem_instdir}
%exclude %{gem_cache}
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.travis.yml
%exclude %{gem_instdir}/Gemfile
%exclude %{gem_instdir}/wicked.gemspec
%exclude %{gem_instdir}/Appraisals
%exclude %{gem_instdir}/gemfiles
%{gem_spec}
%{gem_libdir}
%{gem_instdir}/Rakefile
%{gem_instdir}/Appraisals
%license %{gem_instdir}/MIT-LICENSE
%exclude %{gem_instdir}/.gitignore
%{gem_instdir}/gemfiles
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_instdir}/test
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/CONTRIBUTING.md
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.md
%doc %{gem_docdir}/rdoc
%doc %{gem_docdir}/ri
%doc %{gem_instdir}/CHANGELOG.md
%{gem_instdir}/Rakefile
%{gem_instdir}/test
%{gem_instdir}/wicked.gemspec
%changelog
* Wed Sep 26 2018 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> 1.3.3-1
- Update to 1.3.3-1
* Fri Sep 07 2018 Eric D. Helms <ericdhelms@gmail.com> - 1.3.2-2
- Rebuild for Rails 5.2 and Ruby 2.5
Expand Down
1 change: 0 additions & 1 deletion packages/plugins/rubygem-wicked/wicked-1.3.2.gem

This file was deleted.

1 change: 1 addition & 0 deletions packages/plugins/rubygem-wicked/wicked-1.3.3.gem

0 comments on commit d3d138a

Please sign in to comment.