public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-hl7] f45: fix: drop doc package
@ 2026-11-19 10:43 Ankur Sinha
  0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-11-19 10:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-hl7
            Branch : f45
            Commit : fccf6e86fafc59c2f38f4e7a90feec22ff7689c8
            Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
            Date   : 2025-06-05T09:59:35+02:00
            Stats  : +0/-25 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-hl7/c/fccf6e86fafc59c2f38f4e7a90feec22ff7689c8?branch=f45

            Log:
            fix: drop doc package

sphinx generated docs include js/fonts and so on that is too much work
to unbundle

---
diff --git a/python-hl7.spec b/python-hl7.spec
index e261c98..bd11bde 100644
--- a/python-hl7.spec
+++ b/python-hl7.spec
@@ -16,10 +16,7 @@ Source0:        %{pypi_source %{srcname}}
 Source1:        https://raw.githubusercontent.com/johnpaulett/python-hl7/master/AUTHORS
 
 BuildArch:      noarch
-BuildRequires:  make
 BuildRequires:  python3-devel
-BuildRequires:  python3-sphinx
-BuildRequires:  python3-sphinxcontrib-htmlhelp
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-six
 
@@ -35,12 +32,6 @@ Summary: %{sum}
 python-%{srcname} is a simple library for parsing messages of
 Health Level 7 (HL7) v2.x into Python objects.
 
-%package doc
-Summary: Documentation for %{srcname}
-
-%description doc
-Documentation files for %{srcname}
-
 %prep
 %setup -q  -n %{srcname}-%{version}
 rm -rf *egg-info
@@ -48,32 +39,16 @@ cp %{SOURCE1} .
 
 %build
 
-# Make docs
-# These modes appear to be enough
-pushd docs/
-    make html
-    make singlehtml
-    make man
-    make htmlhelp
-popd
-
 %py3_build
 
 %install
 %py3_install
 
-# Delete buildinfo file
-find docs/_build/ -name ".buildinfo" -execdir rm -fv '{}' \;
-
 %files -n python3-%{srcname}
 %{_bindir}/mllp_send
 %{python3_sitelib}/%{srcname}/
 %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
 %license LICENSE
 
-%files doc
-%doc docs/_build/html docs/_build/htmlhelp docs/_build/singlehtml README.rst AUTHORS
-%license LICENSE
-
 %changelog
 %autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-19 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 10:43 [rpms/python-hl7] f45: fix: drop doc package Ankur Sinha

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