[pl] Sub-package YAP compatibility headers
Petr Pisar
ppisar at fedoraproject.org
Mon Dec 3 09:35:51 UTC 2012
commit 065b2eee81730cebadd7e6689c1b845f421661c7
Author: Petr Písař <ppisar at redhat.com>
Date: Mon Dec 3 10:35:29 2012 +0100
Sub-package YAP compatibility headers
pl.spec | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/pl.spec b/pl.spec
index 65ee1d5..51a8e85 100644
--- a/pl.spec
+++ b/pl.spec
@@ -3,7 +3,7 @@
Name: pl
Version: 6.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: SWI-Prolog - Edinburgh compatible Prolog compiler
@@ -82,6 +82,17 @@ Requires: readline-devel, pkgconfig
Development files for SWI Prolog.
+%package compat-yap-devel
+Summary: Development files building YAP application against SWI Prolog
+Group: Development/Languages
+License: GPLv2+
+Requires: %{name}-devel = %{version}-%{release}
+
+%description compat-yap-devel
+This package allows to build Yet Annother Prolog applications against SWI
+Prolog implementation.
+
+
%package doc
Summary: Documentation for SWI Prolog
Group: Documentation
@@ -293,9 +304,13 @@ find packages/jpl/examples -name ".cvsignore" | xargs rm -f
%files devel
%{_libdir}/swipl-%{version}/include
+%exclude %{_libdir}/swipl-%{version}/include/Yap
%{_libdir}/swipl-%{version}/lib/*/libswipl.so
%{_libdir}/pkgconfig/swipl.pc
+%files compat-yap-devel
+%{_libdir}/swipl-%{version}/include/Yap
+
%files doc
%{_libdir}/swipl-%{version}/doc
%doc %{docdir}/*
@@ -320,6 +335,10 @@ find packages/jpl/examples -name ".cvsignore" | xargs rm -f
%changelog
+* Mon Dec 03 2012 Petr Pisar <ppisar at redhat.com> - 6.2.3-2
+- Sub-package YAP compatibility headers because they are not compatible with
+ real YAP
+
* Thu Nov 22 2012 Petr Pisar <ppisar at redhat.com> - 6.2.3-1
- 6.2.3 bump
More information about the scm-commits
mailing list