Author: kwizart
Update of /cvs/nonfree/rpms/Cg/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv4049
Modified Files:
Cg.spec
Log Message:
Fix some conditionals
Index: Cg.spec
===================================================================
RCS file: /cvs/nonfree/rpms/Cg/devel/Cg.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Cg.spec 27 Mar 2009 18:15:32 -0000 1.4
+++ Cg.spec 27 Mar 2009 18:19:31 -0000 1.5
@@ -22,7 +22,11 @@
Source0:
http://developer.download.nvidia.com/cg/Cg_%{maj_version}/%{version}/Cg-%...
Source1:
http://developer.download.nvidia.com/cg/Cg_%{maj_version}/%{version}/Cg-%...
License: Redistributable, no modification permitted
+%if 0%{?fedora} >= 11
+ExclusiveArch: i586 x86_64
+%else
ExclusiveArch: i386 x86_64
+%endif
Requires: lib%{name}(%{_target_cpu}) = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,18 +59,13 @@
This package contains Cg shared support library.
%prep
-%ifarch i386
+%ifarch %{ix86}
%setup -q -c %{name}-%{version}
%endif
%ifarch x86_64
%setup -q -c %{name}-%{version} -D -T -a 1
%endif
-# Tweak to have debuginfo - part 2/2
-%if "%fedora" > "7"
-cp -p %{_prefix}/lib/rpm/find-debuginfo.sh .
-sed -i -e 's|strict=true|strict=false|' find-debuginfo.sh
-%endif
%build
# Nothing to build
@@ -120,6 +119,7 @@
- Update to 2.1.0017 (February2009)
- Re-introduce disttag
- Disable strip
+- Fix some conditionnals
* Fri Jan 9 2009 kwizart < kwizart at
gmail.com > - 2.1.0016-1
- Update to 2.1.0016 (November2008)