public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gianluca Sforna <giallu@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/buildbot] epel10.2: install docs to %%{_pkgdocdir} where available
Date: Fri, 09 Oct 2026 14:33:58 GMT [thread overview]
Message-ID: <179155643838.1.15895015649433010371.rpms-buildbot-b746aafe7f1a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/buildbot
Branch : epel10.2
Commit : b746aafe7f1a1a992602fe49841355682902ed7a
Author : Gianluca Sforna <giallu@gmail.com>
Date : 2013-08-05T11:52:07+02:00
Stats : +9/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/buildbot/c/b746aafe7f1a1a992602fe49841355682902ed7a?branch=epel10.2
Log:
install docs to %%{_pkgdocdir} where available
---
diff --git a/buildbot.spec b/buildbot.spec
index df2067d..b3d45c1 100644
--- a/buildbot.spec
+++ b/buildbot.spec
@@ -1,5 +1,7 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
%global do_tests 1
# The master and slave packages have (in theory) an independent versioning
@@ -7,7 +9,7 @@
Name: buildbot
Version: 0.8.7p1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Build/test automation system
Group: Development/Tools
@@ -145,7 +147,7 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/%{name}/ \
%{buildroot}%{_mandir}/man1/ \
- %{buildroot}%{_docdir}/%{name}-%{version}
+ %{buildroot}%{_pkgdocdir}
cp -R contrib %{buildroot}/%{_datadir}/%{name}/
@@ -153,7 +155,7 @@ cp -R contrib %{buildroot}/%{_datadir}/%{name}/
cp docs/buildbot.1 %{buildroot}%{_mandir}/man1/buildbot.1
# install HTML documentation
-tar xf docs/docs.tgz --strip-components=1 -C %{buildroot}%{_docdir}/%{name}-%{version}
+tar xf docs/docs.tgz --strip-components=1 -C %{buildroot}%{_pkgdocdir}
# clean up Windows contribs.
sed -i 's/\r//' %{buildroot}/%{_datadir}/%{name}/contrib/windows/*
@@ -190,10 +192,13 @@ rm -rf %{buildroot}
%files doc
%defattr(-,root,root,-)
-%{_docdir}/%{name}-%{version}
+%{_pkgdocdir}
%changelog
+* Mon Aug 05 2013 Gianluca Sforna <giallu@gmail.com> - 0.8.7p1-2
+- Install docs to %%{_pkgdocdir} where available.
+
* Sun Jul 28 2013 Gianluca Sforna <giallu@gmail.com> - 0.8.7p1-1
- New upstream release
- Require python-dateutil
reply other threads:[~2026-10-09 14:33 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=179155643838.1.15895015649433010371.rpms-buildbot-b746aafe7f1a@fedoraproject.org \
--to=giallu@gmail.com \
--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