|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
# Generated from listen-0.4.7.gem by gem2rpm -*- rpm-spec -*-
|
|
|
|
|
%global gem_name listen
|
|
|
|
|
%global rubyabi 1.9.1
|
|
|
|
|
|
|
|
|
|
Summary: Listen to file modifications
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.4.7
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/guard/listen
|
|
|
|
@ -18,12 +17,12 @@ Source1: listen-%{version}-specs.tar.gz
|
|
|
|
|
# they are platform specifis and not needed.
|
|
|
|
|
# https://github.com/guard/listen/pull/54
|
|
|
|
|
Patch0: listen-%{version}-Remove-hardcoded-platform-specific-dependencies.patch
|
|
|
|
|
Requires: ruby(abi) = %{rubyabi}
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Requires: ruby(rubygems) >= 1.3.6
|
|
|
|
|
BuildRequires: ruby(abi) = %{rubyabi}
|
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
|
BuildRequires: rubygems-devel >= 1.3.6
|
|
|
|
|
BuildRequires: ruby
|
|
|
|
|
BuildRequires: %{_bindir}/rspec
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
BuildRequires: rubygem(rb-inotify)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
@ -44,9 +43,7 @@ Documentation for %{name}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -c -T
|
|
|
|
|
mkdir -p .%{gem_dir}
|
|
|
|
|
gem install --local --install-dir .%{gem_dir} \
|
|
|
|
|
--force %{SOURCE0}
|
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
pushd .%{gem_dir}
|
|
|
|
|
%patch0 -p1
|
|
|
|
@ -79,6 +76,9 @@ popd
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Mar 07 2013 Vít Ondruch <vondruch@redhat.com> - 0.4.7-3
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|