Author: firewing
Update of /cvs/free/rpms/rpmfusion-free-package-config-smart/F-14
In directory se02.es.rpmfusion.net:/tmp/cvs-serv16548
Modified Files:
rpmfusion-free-package-config-smart.spec
Log Message:
* Sat Apr 9 2011 Stewart Adam <s.adam at diffingo.com> - 14-1
- Update for F-14
- 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-14/rpmfusion-free-package-config-smart.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rpmfusion-free-package-config-smart.spec 29 Mar 2009 13:59:50 -0000 1.4
+++ rpmfusion-free-package-config-smart.spec 9 Apr 2011 18:20:17 -0000 1.5
@@ -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: 11
-Release: 0.4
+Version: 14
+Release: 1
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,10 @@
%config(noreplace) %{_sysconfdir}/smart/channels/*.channel
%changelog
+* Sat Apr 9 2011 Stewart Adam <s.adam at diffingo.com> - 14-1
+- Update for F-14
+- Use hardcoded %%{basearch} instead of %%{_target_cpu} (fixes #1268)
+
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 11-0.4
- rebuild for new F11 features