[libtomcrypt/el6] Fix build requirements for RHEL 6 and Fedora 17
Simone Caronni
slaanesh at fedoraproject.org
Thu Jun 6 08:06:47 UTC 2013
commit 253e6a3441d8e8f1adcc6108e869192580612b80
Author: Simone Caronni <negativo17 at gmail.com>
Date: Thu Jun 6 10:05:53 2013 +0200
Fix build requirements for RHEL 6 and Fedora 17
libtomcrypt.spec | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/libtomcrypt.spec b/libtomcrypt.spec
index 0f5ae44..e12b52e 100644
--- a/libtomcrypt.spec
+++ b/libtomcrypt.spec
@@ -1,6 +1,6 @@
Name: libtomcrypt
Version: 1.17
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: A comprehensive, portable cryptographic toolkit
License: Public Domain
@@ -9,9 +9,18 @@ Source0: http://www.libtom.org/files/crypt-%{version}.tar.bz2
Patch0: %{name}-makefile.patch
Patch1: %{name}-pkgconfig.patch
-Requires: libtommath >= 0.41
+BuildRequires: ghostscript
BuildRequires: libtommath-devel >= 0.41
BuildRequires: libtool
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+BuildRequires: tex(dvips)
+BuildRequires: tex(latex)
+%else
+BuildRequires: tetex-dvips
+BuildRequires: tetex-latex
+%endif
+
+Requires: libtommath >= 0.41
%description
A comprehensive, modular and portable cryptographic toolkit that provides
@@ -36,8 +45,6 @@ developing applications that use %{name}.
Summary: Documentation files for %{name}
Requires: %{name} = %{version}-%{release}
-BuildRequires: ghostscript
-BuildRequires: tex(dvips), tex(latex)
%description doc
The %{name}-doc package contains documentation for use with %{name}.
@@ -95,6 +102,9 @@ find %{buildroot} -name 'libtomcrypt_prof*' -exec rm -f {} ';'
%doc LICENSE doc/crypt.pdf
%changelog
+* Thu Jun 06 2013 Simone Caronni <negativo17 at gmail.com> - 1.17-18
+- Fix build requirements for RHEL 6 and Fedora 17.
+
* Tue Jun 04 2013 David Woodhouse <David.Woodhouse at intel.com> - 1.17-17
- Fix tex/latex BuildRequires
More information about the scm-commits
mailing list