public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/canl-c] epel10: Patch to remove comment.sty LaTeX package (not available on RHEL7).
@ 2026-11-19  8:55 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-19  8:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/canl-c
Branch : epel10
Commit : 5d522444b286b7895fcffd4f3e91e6e44961dc4f
Author : František Dvořák <valtri@civ.zcu.cz>
Date   : 2014-01-29T13:33:56+01:00
Stats  : +35/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/canl-c/c/5d522444b286b7895fcffd4f3e91e6e44961dc4f?branch=epel10

Log:
Patch to remove comment.sty LaTeX package (not available on RHEL7).

---
diff --git a/canl-c.spec b/canl-c.spec
index 5b10314..01761f4 100644
--- a/canl-c.spec
+++ b/canl-c.spec
@@ -1,11 +1,13 @@
 Name:           canl-c
 Version:        2.1.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        EMI Common Authentication library - bindings for C
 
 License:        ASL 2.0
 Url:            http://www.eu-emi.eu
 Source:         http://scientific.zcu.cz/emi/emi.canl.c/%{name}-%{version}.tar.gz
+# https://github.com/CESNET/canl-c/commit/510d219cc8646370af85d3cbc9790c550f6a57fc
+Patch0:         tex-comment.diff
 
 BuildRequires:  bison
 BuildRequires:  c-ares-devel
@@ -23,7 +25,6 @@ BuildRequires:  tex(latex)
 BuildRequires:  tetex-latex
 %endif
 %if 0%{?fedora} || 0%{?rhel} >= 7
-BuildRequires:  tex(comment.sty)
 BuildRequires:  tex(lastpage.sty)
 BuildRequires:  tex(multirow.sty)
 BuildRequires:  tex(ptmr7t.tfm)
@@ -66,6 +67,7 @@ This package contains client and server examples of EMI caNl.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -105,6 +107,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %changelog
+* Wed Jan 29 2014 František Dvořák <valtri@civ.zcu.cz> - 2.1.3-2
+- Patch to remove comment.sty LaTeX package (not available on RHEL7)
+
 * Thu Jan 16 2014 František Dvořák <valtri@civ.zcu.cz> - 2.1.3-1
 - New upstream version
 - Removed arch-specific BuildRequires

diff --git a/tex-comment.diff b/tex-comment.diff
new file mode 100644
index 0000000..d8f8658
--- /dev/null
+++ b/tex-comment.diff
@@ -0,0 +1,28 @@
+commit 510d219cc8646370af85d3cbc9790c550f6a57fc
+Author: František Dvořák <valtri@civ.zcu.cz>
+Date:   Wed Jan 29 13:24:56 2014 +0100
+
+    Disable 'comment' LaTeX package (not available in RHEL 7).
+
+diff --git a/doc/src/definitions.tex b/doc/src/definitions.tex
+index 5d784c8..4e882b0 100644
+--- a/doc/src/definitions.tex
++++ b/doc/src/definitions.tex
+@@ -17,7 +17,6 @@
+ % external packages
+ \usepackage{xspace}
+ \usepackage{ifthen}
+-\usepackage{comment}
+ \usepackage{listings}
+ 
+ % useful definitions
+@@ -42,9 +41,6 @@
+ \def\code#1{\texttt{#1}}
+ \def\ctblb#1{\code{org.glite.testsuites.ctb/LB/tests/#1}}
+ 
+-\specialcomment{hints}{\par\noindent\textbf{Hints: }\begingroup\slshape}{\endgroup}
+-%\includecomment{hints}
+-
+ \long\def\TODO#1{\par\noindent\textbf{TODO:} {\sl#1}\par}
+ \long\def\ludek#1{}
+ 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19  8:55 [rpms/canl-c] epel10: Patch to remove comment.sty LaTeX package (not available on RHEL7) 

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