[mcu8051ide/f20] Fix build with unversioned docdir

Shakthi Kannan shakthimaan at fedoraproject.org
Thu Aug 29 10:47:30 UTC 2013


commit a9429a27e198141dc590be389dfa99a307cc9d36
Author: Shakthi Kannan <shakthimaan at fedoraproject.org>
Date:   Thu Aug 29 16:14:08 2013 +0530

    Fix build with unversioned docdir

 mcu8051ide.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/mcu8051ide.spec b/mcu8051ide.spec
index edf7c81..c318399 100644
--- a/mcu8051ide.spec
+++ b/mcu8051ide.spec
@@ -1,6 +1,9 @@
+# until defined for all current releases
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
 Name:           mcu8051ide
 Version:        1.4.7
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        IDE for MCS-51 based microcontrollers
 
 Group:          Applications/Engineering
@@ -57,6 +60,9 @@ rm -rf %{buildroot}
 %{_datadir}/mime/packages/application-x-mcu8051ide.xml
 
 %changelog
+* Thu Aug 29 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 1.4.7-3
+- Fix build with unversioned docdir using _pkgdocdir (#992217)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.7-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -105,7 +111,7 @@ rm -rf %{buildroot}
 * Sun Nov 15 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> - 1.3.3-1
 - Updated package to 1.3.3 upstream release
 
-* Sun Nov 07 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> - 1.3-2
+* Sat Nov 07 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> - 1.3-2
 - Updated package to 1.3-2 upstream release
 
 * Sun Oct 25 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> - 1.3.1-1
@@ -117,7 +123,7 @@ rm -rf %{buildroot}
 - Re-applied mcu8051-1.1-desktop-exec-path-fix.patch
 - Added tclx as Requires dependency
 
-* Wed Aug 06 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> - 1.2-1
+* Thu Aug 06 2009 Shakthi Kannan <shakthimaan [AT] gmail DOT com> - 1.2-1
 - Updated Release, Version
 - Removed earlier patches that have now been applied in 1.2 upstream
 - Removed manual removal of lib/.tex* lib/.html files in setup stage


More information about the scm-commits mailing list