public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libQGLViewer] epel10.3: Honor %{_pkgdocdir} where available.
@ 2026-11-30 13:57 Laurent Rineau
0 siblings, 0 replies; only message in thread
From: Laurent Rineau @ 2026-11-30 13:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10.3
Commit : d4b1c691e0976c37bccd0b1adadc978b2f3374ea
Author : Laurent Rineau <laurent.rineau@cgal.org>
Date : 2013-08-06T15:26:58+02:00
Stats : +13/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/d4b1c691e0976c37bccd0b1adadc978b2f3374ea?branch=epel10.3
Log:
Honor %{_pkgdocdir} where available.
See https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
+ No longer use the macro %{_qt4_qmake} and %{_qt4_plugindir}.
---
diff --git a/libQGLViewer.spec b/libQGLViewer.spec
index bc6cf20..53b7291 100644
--- a/libQGLViewer.spec
+++ b/libQGLViewer.spec
@@ -1,6 +1,6 @@
Name: libQGLViewer
Version: 2.3.9
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Qt based OpenGL generic 3D viewer library
Group: System Environment/Libraries
@@ -77,10 +77,13 @@ do
done
%build
+
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
cd QGLViewer
-%{_qt4_qmake} \
+qmake-qt4 \
LIB_DIR=%{_libdir} \
- DOC_DIR=%{_defaultdocdir}/%{name}-%{version} \
+ DOC_DIR=%{_pkgdocdir} \
INCLUDE_DIR=%{_includedir} \
TARGET_x=%{name}.so.%{version}
# The TARGET_x variable gives the SONAME. However, qmake behavior is not
@@ -90,7 +93,7 @@ cd QGLViewer
make %{?_smp_mflags}
cd ../designerPlugin
-%{_qt4_qmake} LIB_DIR=../QGLViewer
+qmake-qt4 LIB_DIR=../QGLViewer
make %{?_smp_mflags}
%install
@@ -125,7 +128,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%{_includedir}/QGLViewer/
%{_libdir}/libQGLViewer.so
-%{_qt4_plugindir}/designer/libqglviewerplugin.so
+%{_libdir}/qt4/plugins/designer/libqglviewerplugin.so
%files doc
%defattr(-,root,root,-)
@@ -133,6 +136,11 @@ rm -rf $RPM_BUILD_ROOT
%doc examples
%changelog
+* Tue Aug 6 2013 Laurent Rineau <lrineau@renoir.geometryfactory.com> - 2.3.9-8
+- Honor %%{_pkgdocdir} where available.
+ See https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
+- No longer use the macro %%{_qt4_qmake} and %%{_qt4_plugindir}.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 13:57 [rpms/libQGLViewer] epel10.3: Honor %{_pkgdocdir} where available Laurent Rineau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox