From 4cf3f98a34c0d706359086ef706ba7bdbfa2e7bf Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 7 Nov 2008 02:22:12 +0000 Subject: [PATCH 1/4] Initialize branch F-8 for rubygem-rspec --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..e9e7ccd --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-8 From 452c8ab0caff1962328ef2d0ff8ed9f1c285b33c Mon Sep 17 00:00:00 2001 From: Michael Stahnke Date: Thu, 13 Nov 2008 20:34:39 +0000 Subject: [PATCH 2/4] Committing for all branches --- rubygem-rspec.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 2 files changed, 67 insertions(+) create mode 100644 rubygem-rspec.spec diff --git a/rubygem-rspec.spec b/rubygem-rspec.spec new file mode 100644 index 0000000..abef281 --- /dev/null +++ b/rubygem-rspec.spec @@ -0,0 +1,66 @@ +# Generated from rspec-1.1.3.gem by gem2rpm -*- rpm-spec -*- +%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) +%define gemname rspec +%define geminstdir %{gemdir}/gems/%{gemname}-%{version} + +Summary: Behaviour driven development (BDD) framework for Ruby +Name: rubygem-%{gemname} +Version: 1.1.11 +Release: 1%{?dist} +Group: Development/Languages +License: GPLv2+ or Ruby +URL: http://rspec.rubyforge.org +Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: rubygems, ruby(abi) = 1.8 +BuildRequires: rubygems, ruby +BuildArch: noarch +Provides: rubygem(%{gemname}) = %{version} + +%description +RSpec is a behaviour driven development (BDD) framework for Ruby. RSpec was +created in response to Dave Astels' article _A New Look at Test Driven +Development_ which can be read at: http://daveastels.com/index.php?p=5 RSpec +is intended to provide the features discussed in Dave's article. + + +%prep + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{gemdir} +gem install --local --install-dir %{buildroot}%{gemdir} \ + --force --rdoc %{SOURCE0} +mkdir -p %{buildroot}/%{_bindir} +mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir} +rmdir %{buildroot}%{gemdir}/bin +find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%{_bindir}/* +%{gemdir}/gems/%{gemname}-%{version}/ +%doc %{gemdir}/doc/%{gemname}-%{version} +#%doc %{geminstdir}/*.txt +%{gemdir}/cache/%{gemname}-%{version}.gem +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + + +%changelog +* Wed Nov 08 2008 Michael Stahnke - 1.1.11-1 +- New Version + +* Mon Nov 03 2008 Michael Stahnke - 1.1.8-3 +- Updating to require ruby(abi) + +* Mon Oct 13 2008 Michael Stahnke - 1.1.8-1 +- New version + +* Wed May 14 2008 Michael Stahnke - 1.1.3-1 +- Initial package diff --git a/sources b/sources index e69de29..4276ba8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +04d59c2b715fe97a5763d7abf322afbb rspec-1.1.11.gem From 0be6530e092044d9e77d093201de7242188a92b3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:31:59 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7fa6f31..75f61b4 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := rubygem-rspec SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 090514f0c62718e7877061ea1aa49374fb098fcd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:54:51 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 75f61b4..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: rubygem-rspec -# $Id$ -NAME := rubygem-rspec -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index e9e7ccd..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-8