Author: firewing
Update of /cvs/free/rpms/rpmfusion-free-package-config-smart/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23856
Modified Files:
rpmfusion-free-package-config-smart.spec
Log Message:
* Thu Jun 10 2010 Stewart Adam <s.adam at diffingo.com> - 13-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-13/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 29 May 2010 19:05:38 -0000 1.5
+++ rpmfusion-free-package-config-smart.spec 10 Jun 2010 19:18:45 -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: 13
-Release: 1
+Release: 2
License: GPLv2+
Group: System Environment/Base
URL:
http://rpmfusion.org/
@@ -35,7 +41,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
@@ -48,6 +54,9 @@
%config(noreplace) %{_sysconfdir}/smart/channels/*.channel
%changelog
+* Thu Jun 10 2010 Stewart Adam <s.adam at diffingo.com> - 13-2
+- Use hardcoded %%{basearch} instead of %%{_target_cpu} (fixes #1268)
+
* Sat May 29 2010 Stewart Adam <s.adam at diffingo.com> - 13-1
- Update for F13