public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vym] epel10: Fix docdir.
@ 2026-07-20 18:59 Jon Ciesla
  0 siblings, 0 replies; only message in thread
From: Jon Ciesla @ 2026-07-20 18:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/vym
Branch : epel10
Commit : 4faefb81b43ba2812ec4e05c34fcd7880607e0c7
Author : Jon Ciesla <limburgher@gmail.com>
Date   : 2013-08-09T10:37:34-05:00
Stats  : +14/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/vym/c/4faefb81b43ba2812ec4e05c34fcd7880607e0c7?branch=epel10

Log:
Fix docdir.

---
diff --git a/vym.spec b/vym.spec
index 90b905e..95308bc 100644
--- a/vym.spec
+++ b/vym.spec
@@ -2,7 +2,7 @@
 
 Name:           vym
 Version:        2.3.19
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        View your mind
 
 Group:          Applications/Productivity
@@ -28,7 +28,7 @@ BuildRequires:  qt4-devel libXext-devel desktop-file-utils
 %filter_from_requires /^perl(BugzillaClient)$/d
 %?perl_default_filter
 }
-%global __requires_exclude%{?__requires_exclude:%__requires_exclude|}perl\\(BugzillaClient\\)
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(BugzillaClient\\)
 Requires:	perl-BZ-Client
 # For file operations, we use command-line utilities.
 Requires: coreutils zip unzip
@@ -46,7 +46,13 @@ to organize tasks, to get an overview over complex contexts.
 
 %build
 
-qmake-qt4 DOCDIR="%{_docdir}/%{name}-%{version}" PREFIX=%{_prefix}
+%if (0%{?fedora} && 0%{?fedora} < 20)
+%global docval %{_docdir}/%{name}-%{version}
+%else
+%global docval %{_docdir}
+%endif
+
+qmake-qt4 DOCDIR="%{?docval}" PREFIX=%{_prefix}
 
 %{__make} %{?_smp_mflags}
 
@@ -84,7 +90,7 @@ desktop-file-install             \
 install -m a+rx,u+w -d %{buildroot}%{_datadir}/mime/packages
 install -p -m a+r,u+w %{SOURCE2} %{buildroot}%{_datadir}/mime/packages/vym.xml
 
-mv %{buildroot}/usr/share/doc/vym-%{version}/vym.pdf .
+mv %{buildroot}%{?docval}/vym.pdf .
 
 %post 
 touch --no-create %{_datadir}/icons/hicolor || :
@@ -117,7 +123,11 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Fri Aug 09 2013 Jon Ciesla <limburgher@gmail.com> - 2.3.19-4
+- Fix docdir, BZ 993892.
+
 * Mon Aug 05 2013 Jon Ciesla <limburgher@gmail.com> - 2.3.19-3
+- Fix FTBFS.
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.19-2
 - 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-07-20 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 18:59 [rpms/vym] epel10: Fix docdir Jon Ciesla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox