From 1277ee6e3a3e7c6ddf03ad85d4cf7b080efe4c9e Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Apr 18 2014 13:24:18 +0000 Subject: Clean out ruby bits. --- diff --git a/chipmunk.spec b/chipmunk.spec index a7b724c..8cbf002 100644 --- a/chipmunk.spec +++ b/chipmunk.spec @@ -1,7 +1,6 @@ -%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")} Name: chipmunk Version: 5.3.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Physics engine for 2D games Group: Development/Libraries @@ -17,13 +16,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: freeglut-devel BuildRequires: mesa-libGL-devel -BuildRequires: ruby, ruby-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXi-devel BuildRequires: libXmu-devel -#BuildRequires: ruby -Obsoletes: chipmunk-ruby <= 4.1.0-9 %description Chipmunk is a 2D rigid body physics library distributed under the MIT license. @@ -46,21 +42,6 @@ programs that will use the chipmunk library. You should install this package if you need to develop programs which will use the chipmunk library functions. You'll also need to install the chipmunk package. -#%package ruby -#Summary: Ruby interface to the chipmunk library -#Group: Development/Libraries -#Requires: %{name} = %{version}-%{release} -#Requires: ruby(abi) = 1.8 -# -#%description ruby -#Chipmunk is a 2D rigid body physics library distributed under the MIT license. -#Though not yet complete, it is intended to be fast, numerically stable, and -#easy to use. -# -#This package contains the Ruby interface to the chipmunk library. -#You'll also need to install the chipmunk package. - - %prep %setup -qn Chipmunk-%{version} #%patch0 -p1 @@ -76,17 +57,10 @@ chipmunk library functions. You'll also need to install the chipmunk package. %endif %{__make} VERBOSE=1 %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" -#pushd ruby -#ruby extconf.rb -#make -#popd %install rm -rf $RPM_BUILD_ROOT -#mkdir -p $RPM_BUILD_ROOT/%{ruby_sitearch} -#install -m 755 ruby/chipmunk.so $RPM_BUILD_ROOT/%{ruby_sitearch} - make install DESTDIR=$RPM_BUILD_ROOT %if "%{?_lib}" == "lib64" mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/lib64 @@ -111,12 +85,11 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/chipmunk %{_libdir}/*.so -#%files ruby -#%defattr(-,root,root,-) -#%{ruby_sitearch}/chipmunk.so - %changelog +* Fri Apr 18 2014 Jon Ciesla - 5.3.4-7 +- Clean out ruby bits for good, BZ 1089260. + * Sat Aug 03 2013 Fedora Release Engineering - 5.3.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild