|
|
9143db0 |
# Generated from listen-0.4.7.gem by gem2rpm -*- rpm-spec -*-
|
|
|
9143db0 |
%global gem_name listen
|
|
|
9143db0 |
|
|
|
9143db0 |
Name: rubygem-%{gem_name}
|
|
|
5e872b8 |
Version: 3.7.1
|
|
|
d273d31 |
Release: 5%{?dist}
|
|
Josef Stribny |
f98791e |
Summary: Listen to file modifications
|
|
|
9143db0 |
License: MIT
|
|
|
9143db0 |
URL: https://github.com/guard/listen
|
|
Josef Stribny |
f98791e |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
125173a |
# git clone https://github.com/guard/listen.git --no-checkout
|
|
|
5e872b8 |
# cd listen && git archive -v -o rubygem-listen-3.7.1-spec.txz v3.7.1 spec
|
|
|
125173a |
Source1: rubygem-listen-%{version}-spec.txz
|
|
|
5e872b8 |
# Fix kwargs matching compatibility with RSpec 3.12+.
|
|
|
5e872b8 |
# https://github.com/guard/listen/pull/564
|
|
|
5e872b8 |
Patch0: rubygem-listen-3.7.1-Fix-kwargs-matching-with-rspec-mock-3.12-and-Ruby-3.patch
|
|
|
72983ba |
BuildRequires: ruby(release)
|
|
Josef Stribny |
f98791e |
BuildRequires: rubygems-devel
|
|
|
9143db0 |
BuildRequires: ruby
|
|
|
9143db0 |
BuildRequires: rubygem(rb-inotify)
|
|
Josef Stribny |
7830a61 |
BuildRequires: rubygem(thor)
|
|
|
7e3c969 |
BuildRequires: rubygem(rspec)
|
|
|
9143db0 |
BuildArch: noarch
|
|
|
9143db0 |
|
|
|
9143db0 |
%description
|
|
|
9143db0 |
The Listen gem listens to file modifications and notifies you about the
|
|
|
9143db0 |
changes. Works everywhere!
|
|
|
9143db0 |
|
|
|
9143db0 |
|
|
|
9143db0 |
%package doc
|
|
|
9143db0 |
Summary: Documentation for %{name}
|
|
|
9143db0 |
Requires: %{name} = %{version}-%{release}
|
|
|
9143db0 |
BuildArch: noarch
|
|
|
9143db0 |
|
|
|
9143db0 |
%description doc
|
|
Josef Stribny |
f98791e |
Documentation for %{name}.
|
|
|
9143db0 |
|
|
|
9143db0 |
%prep
|
|
|
3d29b07 |
%setup -q -n %{gem_name}-%{version} -b 1
|
|
|
9143db0 |
|
|
|
4bb8fc5 |
pushd %{_builddir}
|
|
Software Management Team |
2e3b9b2 |
%patch 0 -p1
|
|
|
4bb8fc5 |
popd
|
|
|
4bb8fc5 |
|
|
|
a324ba3 |
# Remove the hardcoded dependencies. We don't have them in Fedora
|
|
|
5e872b8 |
# (except rb-inotify), they are platform specific and not needed.
|
|
|
a324ba3 |
# https://github.com/guard/listen/pull/54
|
|
|
125173a |
%gemspec_remove_dep -g rb-fsevent [">= 0.10.3", "~> 0.10"]
|
|
|
3d29b07 |
sed -i '/def self.usable?$/a return false' lib/listen/adapter/darwin.rb
|
|
|
7e3c969 |
|
|
|
9143db0 |
%build
|
|
|
3d29b07 |
# Create the gem as gem install only works on a gem file
|
|
|
3d29b07 |
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
3d29b07 |
|
|
|
3d29b07 |
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
|
|
3d29b07 |
# by default, so that we can move it into the buildroot in %%install
|
|
|
3d29b07 |
%gem_install
|
|
|
9143db0 |
|
|
|
9143db0 |
%install
|
|
|
9143db0 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
9143db0 |
cp -a .%{gem_dir}/* \
|
|
|
9143db0 |
%{buildroot}%{gem_dir}/
|
|
|
9143db0 |
|
|
Josef Stribny |
f98791e |
|
|
Josef Stribny |
f98791e |
mkdir -p %{buildroot}%{_bindir}
|
|
|
3d29b07 |
cp -a .%{_bindir}/* \
|
|
Josef Stribny |
f98791e |
%{buildroot}%{_bindir}/
|
|
Josef Stribny |
f98791e |
|
|
Josef Stribny |
f98791e |
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
Josef Stribny |
f98791e |
|
|
Josef Stribny |
7830a61 |
%check
|
|
|
7e3c969 |
pushd .%{gem_instdir}
|
|
Josef Stribny |
7830a61 |
# Move the tests into place
|
|
|
3d29b07 |
ln -s %{_builddir}/spec spec
|
|
|
9143db0 |
|
|
Josef Stribny |
7830a61 |
# We removed dependencies from other platforms so let's remove
|
|
Josef Stribny |
7830a61 |
# tests as well
|
|
|
7e3c969 |
mv spec/lib/listen/adapter/darwin_spec.rb{,.disabled}
|
|
|
7e3c969 |
|
|
|
7e3c969 |
rspec -rspec_helper spec
|
|
Josef Stribny |
7830a61 |
popd
|
|
|
9143db0 |
|
|
|
9143db0 |
%files
|
|
|
9143db0 |
%dir %{gem_instdir}
|
|
Josef Stribny |
f98791e |
%{_bindir}/listen
|
|
|
a324ba3 |
%license %{gem_instdir}/LICENSE.txt
|
|
|
7e3c969 |
%{gem_instdir}/bin
|
|
|
9143db0 |
%{gem_libdir}
|
|
|
9143db0 |
%exclude %{gem_cache}
|
|
|
9143db0 |
%{gem_spec}
|
|
|
9143db0 |
|
|
|
9143db0 |
%files doc
|
|
|
9143db0 |
%doc %{gem_docdir}
|
|
|
9143db0 |
%doc %{gem_instdir}/CHANGELOG.md
|
|
Josef Stribny |
f98791e |
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
|
7e3c969 |
%doc %{gem_instdir}/README.md
|
|
|
9143db0 |
|
|
|
9143db0 |
%changelog
|
|
|
d273d31 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-5
|
|
|
d273d31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
d273d31 |
|
|
|
b8ad150 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-4
|
|
|
b8ad150 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
b8ad150 |
|
|
|
f58a672 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3
|
|
|
f58a672 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
f58a672 |
|
|
|
5fc7d42 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
|
|
5fc7d42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
5fc7d42 |
|
|
|
5e872b8 |
* Thu Nov 03 2022 Vít Ondruch <vondruch@redhat.com> - 3.7.1-1
|
|
|
5e872b8 |
- Update to Listen 3.7.1.
|
|
|
5e872b8 |
Resolves: rhbz#2040523
|
|
|
5e872b8 |
|
|
|
036d4b1 |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
|
|
|
036d4b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
036d4b1 |
|
|
|
30d40a9 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
|
|
|
30d40a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
30d40a9 |
|
|
|
afab0c3 |
* Mon Nov 01 2021 Pavel Valena <pvalena@redhat.com> - 3.7.0-1
|
|
|
afab0c3 |
- Update to listen 3.7.0.
|
|
|
afab0c3 |
Resolves: rhbz#1984206
|
|
|
afab0c3 |
|
|
|
fb09b3e |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
|
|
|
fb09b3e |
- Second attempt - Rebuilt for
|
|
|
fb09b3e |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
fb09b3e |
|
|
|
bdbefe6 |
* Fri Apr 02 2021 Pavel Valena <pvalena@redhat.com> - 3.5.1-1
|
|
|
bdbefe6 |
- Update to listen 3.5.1.
|
|
|
bdbefe6 |
Resolves: rhbz#1942074
|
|
|
bdbefe6 |
|
|
|
1d8a746 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2
|
|
|
1d8a746 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
1d8a746 |
|
|
|
38f00fb |
* Sat Jan 16 2021 Pavel Valena <pvalena@redhat.com> - 3.4.1-1
|
|
|
38f00fb |
- Update to listen 3.4.1.
|
|
|
38f00fb |
Resolves: rhbz#1916416
|
|
|
38f00fb |
|
|
Pavel Valena |
d3aa7e9 |
* Tue Jan 05 2021 Pavel Valena <pavel.valena@email.com> - 3.4.0-1
|
|
Pavel Valena |
d3aa7e9 |
- Update to listen 3.4.0.
|
|
Pavel Valena |
d3aa7e9 |
Resolves: rhbz#1902562
|
|
Pavel Valena |
d3aa7e9 |
|
|
|
8062ad9 |
* Thu Nov 12 23:05:28 CET 2020 Pavel Valena <pvalena@redhat.com> - 3.3.0-1
|
|
|
8062ad9 |
- Update to listen 3.3.0.
|
|
|
8062ad9 |
Resolves: rhbz#1896227
|
|
|
8062ad9 |
|
|
|
e00116d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
|
|
|
e00116d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e00116d |
|
|
|
bd80a78 |
* Wed Feb 12 2020 Pavel Valena <pvalena@redhat.com> - 3.2.1-1
|
|
|
043b5df |
- Update to listen 3.2.1.
|
|
|
043b5df |
|
|
|
0cfe1c5 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
|
|
|
0cfe1c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0cfe1c5 |
|
|
|
125173a |
* Tue Nov 12 2019 Pavel Valena <pvalena@redhat.com> - 3.2.0-1
|
|
|
125173a |
- Update to listen 3.2.0.
|
|
|
125173a |
|
|
|
d6ff0d0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-8
|
|
|
d6ff0d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d6ff0d0 |
|
|
|
094d74a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-7
|
|
|
094d74a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
094d74a |
|
|
|
3d29b07 |
* Mon Jan 28 2019 Vít Ondruch <vondruch@redhat.com> - 3.1.5-6
|
|
|
4bb8fc5 |
- Fix test suite on Ruby 2.6.
|
|
|
3d29b07 |
- .spec file refresh.
|
|
|
3d29b07 |
|
|
|
f496d0a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-5
|
|
|
f496d0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f496d0a |
|
|
|
3e4d403 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-4
|
|
|
3e4d403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3e4d403 |
|
|
|
b1c5cee |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-3
|
|
|
b1c5cee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b1c5cee |
|
|
|
4ac4864 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-2
|
|
|
4ac4864 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4ac4864 |
|
|
|
7e3c969 |
* Fri Jul 29 2016 Vít Ondruch <vondruch@redhat.com> - 3.1.5-1
|
|
|
7e3c969 |
- Update to Listen 3.1.5.
|
|
|
7e3c969 |
|
|
|
a324ba3 |
* Wed Apr 20 2016 Jun Aruga <jaruga@redhat.com> - 3.0.6-1
|
|
|
a324ba3 |
- Update to 3.0.6.
|
|
|
a324ba3 |
- Fix test suite for Ruby 2.3 compatibility (rhbz#1308046).
|
|
|
a324ba3 |
|
|
|
07cbe3d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
|
|
|
07cbe3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
07cbe3d |
|
|
Josef Stribny |
7830a61 |
* Tue Aug 18 2015 Josef Stribny <jstribny@redhat.com> - 3.0.3-1
|
|
Josef Stribny |
7830a61 |
- Update to 3.0.3
|
|
Josef Stribny |
7830a61 |
|
|
|
0c046bc |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.11-2
|
|
|
0c046bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0c046bc |
|
|
Josef Stribny |
953033f |
* Tue Oct 07 2014 Josef Stribny <jstribny@redhat.com> - 2.7.11-1
|
|
Josef Stribny |
953033f |
- Update to listen 2.7.11
|
|
Josef Stribny |
953033f |
|
|
Josef Stribny |
f98791e |
* Mon Sep 01 2014 Josef Stribny <jstribny@redhat.com> - 2.7.9-1
|
|
Josef Stribny |
f98791e |
- Update to listen 2.7.9.
|
|
Josef Stribny |
f98791e |
|
|
|
8716e34 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-5
|
|
|
8716e34 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8716e34 |
|
|
|
e098497 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-4
|
|
|
e098497 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e098497 |
|
|
|
72983ba |
* Thu Mar 07 2013 Vít Ondruch <vondruch@redhat.com> - 0.4.7-3
|
|
|
72983ba |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
72983ba |
|
|
|
5f17bfb |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-2
|
|
|
5f17bfb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5f17bfb |
|
|
|
9143db0 |
* Tue Jul 24 2012 Vít Ondruch <vondruch@redhat.com> - 0.4.7-1
|
|
|
9143db0 |
- Initial package
|