public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Laurent Rineau <laurent.rineau@cgal.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libQGLViewer] epel10.3: Honor %{_pkgdocdir} where available.
Date: Mon, 30 Nov 2026 13:57:16 GMT [thread overview]
Message-ID: <179604703694.1.8780287648406328928.rpms-libQGLViewer-d4b1c691e097@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-30 13:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179604703694.1.8780287648406328928.rpms-libQGLViewer-d4b1c691e097@fedoraproject.org \
--to=laurent.rineau@cgal.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox