Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-xconfig/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29271/devel
Modified Files:
nvidia-xconfig.spec
Log Message:
Fix for yum bug with obsoletes
Index: nvidia-xconfig.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-xconfig/devel/nvidia-xconfig.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- nvidia-xconfig.spec 27 Jun 2013 20:42:11 -0000 1.26
+++ nvidia-xconfig.spec 21 Jul 2013 14:40:00 -0000 1.27
@@ -1,8 +1,8 @@
%global nversion 319.32
Name: nvidia-xconfig
-Version: 1.0
-Release: 29%{?dist}
+Version: %{nversion}
+Release: 1%{?dist}
Summary: NVIDIA X configuration file editor
Group: Applications/System
@@ -13,7 +13,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?fedora} > 11 || 0%{?rhel} > 5
-ExclusiveArch: i686 x86_64
+ExclusiveArch: i686 x86_64 armv7hl
%else 0%{?fedora} == 11
ExclusiveArch: i586 x86_64
%else
@@ -50,8 +50,10 @@
#We usually have it in sbin
mv $RPM_BUILD_ROOT%{_bindir}/nvidia-xconfig \
- $RPM_BUILD_ROOT%{_sbindir}
-rmdir $RPM_BUILD_ROOT%{_bindir}
+ $RPM_BUILD_ROOT%{_sbindir}/nvidia-xconfig-current
+
+mv $RPM_BUILD_ROOT%{_mandir}/man1/nvidia-xconfig.1.gz \
+ $RPM_BUILD_ROOT%{_mandir}/man1/nvidia-xconfig-current.1.gz
@@ -62,10 +64,13 @@
%files
%defattr(-,root,root,-)
%doc COPYING
-%{_sbindir}/nvidia-xconfig
-%{_mandir}/man1/nvidia-xconfig.1.*
+%{_sbindir}/nvidia-xconfig-current
+%{_mandir}/man1/nvidia-xconfig-current.1.*
%changelog
+* Sun Jul 21 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 319.32-1
+- Build an empty package to workaround yum issue with obsoletes
+
* Thu Jun 27 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0-29
- Update to 319.32