From e00297a9be34753f85b1cdb9104092e2e9cda749 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 7 Nov 2008 02:22:13 +0000 Subject: [PATCH 1/5] Initialize branch F-9 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..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From 886af37a968f10886d11e72de06bf2725a4cb58c Mon Sep 17 00:00:00 2001 From: Michael Stahnke Date: Thu, 13 Nov 2008 20:34:40 +0000 Subject: [PATCH 2/5] 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 1a1270b608be8b8b8d2288768e2bb16845ccfea3 Mon Sep 17 00:00:00 2001 From: Michael Stahnke Date: Sat, 28 Mar 2009 02:28:23 +0000 Subject: [PATCH 3/5] New version --- rubygem-rspec.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/rubygem-rspec.spec b/rubygem-rspec.spec index abef281..f039643 100644 --- a/rubygem-rspec.spec +++ b/rubygem-rspec.spec @@ -6,7 +6,7 @@ Summary: Behaviour driven development (BDD) framework for Ruby Name: rubygem-%{gemname} -Version: 1.1.11 +Version: 1.2.2 Release: 1%{?dist} Group: Development/Languages License: GPLv2+ or Ruby @@ -53,6 +53,12 @@ rm -rf %{buildroot} %changelog +* Fri Mar 27 2009 Michael Stahnke - 1.2.2-1 +- New Version + +* Wed Feb 25 2009 Fedora Release Engineering - 1.1.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Wed Nov 08 2008 Michael Stahnke - 1.1.11-1 - New Version diff --git a/sources b/sources index 4276ba8..37fe9b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -04d59c2b715fe97a5763d7abf322afbb rspec-1.1.11.gem +5cfba135ce576390992d5f2db3ab9851 rspec-1.2.2.gem From 119286a2fa97e3270591506925d342be453ddcb0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:31:59 +0000 Subject: [PATCH 4/5] 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 22a338ea0d0fef056c6aead61d5fb381b78881a1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:54:54 +0000 Subject: [PATCH 5/5] 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 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9