rpms/rubygem-actionmailer/devel .cvsignore, 1.8, 1.9 rubygem-actionmailer.spec, 1.10, 1.11 sources, 1.8, 1.9

Mamoru Tasaka mtasaka at fedoraproject.org
Sun Aug 2 16:42:54 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/rubygem-actionmailer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16711/rubygem-actionmailer/devel

Modified Files:
	.cvsignore rubygem-actionmailer.spec sources 
Log Message:
update to fix dependency breakage 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygem-actionmailer/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- .cvsignore	16 Mar 2009 10:58:22 -0000	1.8
+++ .cvsignore	2 Aug 2009 16:42:53 -0000	1.9
@@ -1 +1 @@
-actionmailer-2.3.2.gem
+actionmailer-2.3.3.gem


Index: rubygem-actionmailer.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygem-actionmailer/devel/rubygem-actionmailer.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- rubygem-actionmailer.spec	27 Jul 2009 03:24:57 -0000	1.10
+++ rubygem-actionmailer.spec	2 Aug 2009 16:42:53 -0000	1.11
@@ -6,8 +6,8 @@
 
 Summary: Service layer for easy email delivery and testing
 Name: rubygem-%{gemname}
-Version: 2.3.2
-Release: 2%{?dist}
+Version: 2.3.3
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
@@ -16,6 +16,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version
 Requires: rubygems
 Requires: rubygem(actionpack) = %{version}
 BuildRequires: rubygems
+BuildRequires(check): rubygem(rake)
+BuildRequires(check): rubygem(actionpack) = %{version}
+BuildRequires(check): rubygem(mocha)
 BuildArch: noarch
 Provides: rubygem(%{gemname}) = %{version}
 
@@ -24,31 +27,42 @@ Makes it trivial to test and deliver ema
 
 
 %prep
-
-%build
-
-%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+            -V \
             --force --rdoc %{SOURCE0}
 
 # Remove backup files
-find %{buildroot}/%{geminstdir} -type f -name "*~" -delete
+find ./%{geminstdir} -type f -name "*~" -delete
 
 # Fix anything executable that does not have a shebang
-for file in `find %{buildroot}/%{geminstdir} -type f -perm /a+x`; do
+for file in `find ./%{geminstdir} -type f -perm /a+x`; do
     [ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file
 done
 
 # Find files with a shebang that do not have executable permissions
-for file in `find %{buildroot}/%{geminstdir} -type f ! -perm /a+x -name "*.rb"`; do
+for file in `find ./%{geminstdir} -type f ! -perm /a+x -name "*.rb"`; do
     [ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file
 done
 
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
+
 %clean
 rm -rf %{buildroot}
 
+%check
+export GEM_PATH=$(pwd)/%{gemdir}
+pushd .%{geminstdir}
+
+rake test --trace
+
 %files
 %defattr(-, root, root, -)
 %dir %{geminstdir}
@@ -65,6 +79,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Aug  2 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 2.3.3-1
+- 2.3.3
+- Enable test
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-actionmailer/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources	16 Mar 2009 10:58:22 -0000	1.8
+++ sources	2 Aug 2009 16:42:53 -0000	1.9
@@ -1 +1 @@
-422d6ec5d13c0c8a151e80b1024bd100  actionmailer-2.3.2.gem
+b8caa899e009e09d643e6105d977b165  actionmailer-2.3.3.gem




More information about the fedora-extras-commits mailing list