update to 1.1.0

This commit is contained in:
Jan Klepek 2014-02-27 19:52:35 +01:00
commit c6561acbe1

View File

@ -9,7 +9,7 @@ License: LGPLv2+
URL: http://coderay.rubychan.de
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(abi) = 1.9.1
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(term-ansicolor)
BuildRequires: rubygems-devel
@ -23,26 +23,27 @@ efficient.
%prep
%setup -q -c -T
%gem_install -n %{SOURCE0}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
gem install --local --install-dir %{buildroot}%{gem_dir} \
--force --rdoc %{SOURCE0}
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gem_dir}/bin
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
mkdir -p %{buildroot}%{_bindir}
cp -pa .%{_bindir}/* \
%{buildroot}%{_bindir}/
rm -rf %{buildroot}/%{gem_libdir}/term
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
find %{buildroot}/%{gem_instdir}/bin -type f | xargs sed -i 's/\r//' $FILES
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%{_bindir}/coderay
%dir %{gem_instdir}/
%dir %{gem_libdir}
@ -54,7 +55,7 @@ rm -rf %{buildroot}
#%doc %{gem_instdir}/LICENSE
%doc %{gem_instdir}/Rakefile
%doc %{gem_instdir}/README_INDEX.rdoc
%{gem_cache}
%exclude %{gem_cache}
%{gem_spec}
@ -64,6 +65,14 @@ rm -rf %{buildroot}
* Sun Aug 19 2012 Jan Klepek <jan.klepek at, gmail.com> - 1.0.7-1
- update to new version
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 1.0.6-4
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild