Author: firewing
Update of /cvs/free/rpms/rpmfusion-free-package-config-smart/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv24289
Modified Files:
rpmfusion-free-package-config-smart.spec
Log Message:
* Thu June 10 2010 Stewart Adam <s.adam at diffingo.com> - 12-2
- Use hardcoded %{basearch} instead of %{_target_cpu} (fixes #1268)
Index: rpmfusion-free-package-config-smart.spec
===================================================================
RCS file:
/cvs/free/rpms/rpmfusion-free-package-config-smart/F-12/rpmfusion-free-package-config-smart.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rpmfusion-free-package-config-smart.spec 15 Dec 2009 19:20:16 -0000 1.5
+++ rpmfusion-free-package-config-smart.spec 10 Jun 2010 19:20:25 -0000 1.6
@@ -1,9 +1,15 @@
%define debug_package %{nil}
+%ifarch %{ix86}
+%define basearch i386
+%else
+%define basearch %{_target_cpu}
+%endif
+
Summary: RPM Fusion (free) configuration files for the Smart package manager
Name: rpmfusion-free-package-config-smart
Version: 12
-Release: 1
+Release: 2
License: GPLv2+
Group: System Environment/Base
URL:
http://rpmfusion.org/
@@ -36,7 +42,7 @@
for channel in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4};do
name=$(basename $channel)
install -p -m0644 $channel $RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/$name
- sed -i 's/\$basearch/%{_target_cpu}/'
$RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/$name
+ sed -i 's/\$basearch/%{basearch}/'
$RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/$name
sed -i 's/\$releasever/%{fedora}/'
$RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/$name
done
@@ -49,6 +55,9 @@
%config(noreplace) %{_sysconfdir}/smart/channels/*.channel
%changelog
+* Thu June 10 2010 Stewart Adam <s.adam at diffingo.com> - 12-2
+- Use hardcoded %%{basearch} instead of %%{_target_cpu} (fixes #1268)
+
* Tue Dec 15 2009 Stewart Adam <s.adam at diffingo.com> - 12-1
- Update for F-12