rpms/ruby-shadow/devel ruby-shadow-1.4.1-depend.patch, NONE, 1.1 ruby-shadow.spec, 1.2, 1.3

Kostas Georgiou (georgiou) fedora-extras-commits at redhat.com
Sun Jul 22 15:09:49 UTC 2007


Author: georgiou

Update of /cvs/extras/rpms/ruby-shadow/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23190

Modified Files:
	ruby-shadow.spec 
Added Files:
	ruby-shadow-1.4.1-depend.patch 
Log Message:
Added pathes from David Lutterkort to allow building under RHEL4.


ruby-shadow-1.4.1-depend.patch:

--- NEW FILE ruby-shadow-1.4.1-depend.patch ---
--- shadow-1.4.1/depend.orig	1998-12-30 20:47:35.000000000 -0800
+++ shadow-1.4.1/depend	2007-07-18 15:55:14.000000000 -0700
@@ -1 +1 @@
-shadow.o : shadow.c $(hdrdir)/ruby.h $(hdrdir)/rubyio.h
+shadow.o : shadow.c


Index: ruby-shadow.spec
===================================================================
RCS file: /cvs/extras/rpms/ruby-shadow/devel/ruby-shadow.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ruby-shadow.spec	25 May 2007 15:45:40 -0000	1.2
+++ ruby-shadow.spec	22 Jul 2007 15:09:17 -0000	1.3
@@ -4,7 +4,7 @@
 
 Name:           ruby-shadow
 Version:        1.4.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Ruby bindings for shadow password access
 Group:          System Environment/Libraries
 License:        Public Domain
@@ -12,6 +12,7 @@
 Source0:        http://ttsky.net/src/ruby-shadow-%{version}.tar.gz
 Patch0:         ruby-shadow-1.4.1-cflags.patch
 Patch1:         ruby-shadow-1.4.1-struct.patch
+Patch2:         ruby-shadow-1.4.1-depend.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ruby ruby-devel
 BuildRequires:  ruby(abi) = 1.8
@@ -25,6 +26,7 @@
 %setup -q -n shadow-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %{_bindir}/iconv -f EUCJP -t utf8 -o README.ja README.euc
 
 %build
@@ -44,6 +46,9 @@
 %{ruby_sitearch}/shadow.so
 
 %changelog
+* Wed Jul 18 2007 David Lutterkort <dlutter at redhat.com> - 1.4.1-7
+- Remove dependency on ruby{,io}.h from depend - makes builds on RHEL4 fail, 
+  and doesn't provide anything for proper rpm builds
 
 * Fri May 25 2007 Kostas Georgiou <k.georgiou at imperial.ac.uk> 1.4.1-6
 Removed _smp_mflags from install since it was causing problems




More information about the fedora-extras-commits mailing list