From 5431ebb25f9a5a2f758f4b7b8c399b812867d02e Mon Sep 17 00:00:00 2001 From: Till Maas Date: Nov 20 2016 10:33:20 +0000 Subject: 2016-11-20: Retired because it depends on rubygem-abstract, which was retired, because it was orphaned for more than six weeks. --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b7ce202..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -erubis-2.6.5.gem diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..921f006 --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2016-11-20: Retired because it depends on rubygem-abstract, which was +retired, because it was orphaned for more than six weeks. + diff --git a/rubygem-erubis.spec b/rubygem-erubis.spec deleted file mode 100644 index 24c4655..0000000 --- a/rubygem-erubis.spec +++ /dev/null @@ -1,121 +0,0 @@ -# Generated from erubis-2.6.5.gem by gem2rpm -*- rpm-spec -*- -%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) -%global gemname erubis -%global geminstdir %{gemdir}/gems/%{gemname}-%{version} - -%global rubyabi 1.8 - -Summary: A fast and extensible eRuby implementation -Name: rubygem-%{gemname} -Version: 2.6.5 -Release: 2%{?dist} -Group: Development/Languages -License: MIT -URL: http://www.kuwata-lab.com/erubis/ -Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: ruby(rubygems) -Requires: ruby(abi) = %{rubyabi} -Requires: rubygem(abstract) >= 1.0.0 -BuildRequires: ruby(rubygems) -BuildRequires: ruby(abi) = %{rubyabi} -BuildRequires(check): rubygem(abstract) -BuildArch: noarch -Provides: rubygem(%{gemname}) = %{version} - -%description -Erubis is a very fast, secure, and extensible implementation of eRuby. - -%package doc -Summary: Documentation for %{name} -Group: Documentation - -Requires: %{name} = %{version}-%{release} - -%description doc -This package contains documentation for %{name}. - -%prep -%setup -q -c -T - -%build -mkdir -p .%{gemdir} -gem install -V \ - --local \ - --install-dir $(pwd)/%{gemdir} \ - --force --rdoc \ - %{SOURCE0} - -# Wrong filename -mv $(pwd)/.%{geminstdir}/test/data/users-guide/Example.ejava \ - $(pwd)/.%{geminstdir}/test/data/users-guide/example.ejava - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}%{gemdir} -cp -a .%{gemdir}/* %{buildroot}%{gemdir}/ - -mkdir -p %{buildroot}/%{_bindir} -mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir} -rmdir %{buildroot}%{gemdir}/bin -find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x - -find %{buildroot}%{geminstdir}/{bin,contrib} -type f | \ - xargs -n 1 sed -i -e 's"^#!/usr/bin/env ruby"#!/usr/bin/ruby"' - -find %{buildroot}%{geminstdir}/benchmark -type f | \ - xargs -n 1 sed -i -e '/^#!\/usr\/bin\/env ruby/d' - -%clean -rm -rf %{buildroot} - -# Wants to test using the installed binary and gem, work around this -# Reported upstream via -# http://rubyforge.org/tracker/?func=detail&aid=27330&group_id=1320&atid=5201 -%check -export GEM_PATH=$(pwd)/%{gemdir} -export PATH=$(pwd)/%{gemdir}/bin:$PATH - -pushd .%{geminstdir}/test -find data/users-guide -type f -name \*.rb | \ - xargs sed -i -e '/require.*erubis/i\require "rubygems"' - -ruby -rrubygems test.rb - -%files -%defattr(-,root,root,-) -%{_bindir}/erubis -%doc %{geminstdir}/CHANGES.txt -%doc %{geminstdir}/MIT-LICENSE -%doc %{geminstdir}/README.txt -%dir %{geminstdir} - -# We install via gem -%exclude %{geminstdir}/setup.rb - -%{geminstdir}/bin -%{geminstdir}/lib -%{gemdir}/cache/%{gemname}-%{version}.gem -%{gemdir}/specifications/%{gemname}-%{version}.gemspec - -%files doc -%defattr(-,root,root,-) -%{geminstdir}/benchmark -%{geminstdir}/test -%{geminstdir}/examples -%{geminstdir}/contrib - -# Prefer generated rdoc -%exclude %{geminstdir}/doc-api - -%{geminstdir}/doc -%{gemdir}/doc/%{gemname}-%{version} - -%changelog -* Thu Oct 29 2009 Matthew Kent - 2.6.5-2 -- Move file rename to build stage (#530275). -- Simplify %%check stage (#530275). -- Remove disable of test_syntax2, fixed by new ruby build (#530275). - -* Mon Oct 19 2009 Matthew Kent - 2.6.5-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 4ec7365..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -071dc576fe9f1c547ef2993e0be942b0 erubis-2.6.5.gem