[chicken] Drop doc subpackage, add libs subpackage. (#960664)

Ricky Elrod codeblock at fedoraproject.org
Sat Dec 14 21:38:47 UTC 2013


commit e65a417fe61b9ec4ff1c03dd981c946046b47d72
Author: Ricky Elrod <ricky at elrod.me>
Date:   Sat Dec 14 16:38:50 2013 -0500

    Drop doc subpackage, add libs subpackage. (#960664)

 chicken.spec |   30 +++++++++++++++++++-----------
 1 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/chicken.spec b/chicken.spec
index 4608a84..ebe202c 100644
--- a/chicken.spec
+++ b/chicken.spec
@@ -2,7 +2,7 @@
 
 Name:           chicken
 Version:        4.8.0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A practical and portable Scheme system
 
 Group:          Development/Languages
@@ -11,6 +11,17 @@ URL:            http://call-cc.org
 Source0:        http://code.call-cc.org/releases/4.8.0/%{name}-%{version}.tar.gz
 Patch0:         make_cflags_work.patch
 BuildRequires:  chrpath
+Requires:       chicken-libs
+
+# Old docs subpackage, which is no longer a subpackage
+Obsoletes:      chicken-doc < 4.8.0.5-3
+
+%package libs
+Summary:        Chicken Scheme runtime library
+
+%description libs
+The Chicken Scheme runtime library, linked to by programs compiled with
+Chicken.
 
 %if 0%{?rhel}
 BuildRequires:  net-tools
@@ -31,12 +42,6 @@ Scheme language standard, and includes many enhancements and extensions.
 %setup -q -n %{name}-%{version}
 %patch0 -p1
 
-%package doc
-Summary: Documentation files for CHICKEN scheme.
-
-%description doc
-Documentation for CHICKEN (chicken-scheme).
-
 %build
 %if %{bootstrap} == 0
 
@@ -100,17 +105,20 @@ chrpath --delete %{buildroot}/%{_bindir}/*
 %dir %{_includedir}/chicken
 %{_includedir}/chicken/chicken-config.h
 %{_includedir}/chicken/chicken.h
-%{_libdir}/libchicken.so
-%{_libdir}/libchicken.so.6
 %dir %{_libdir}/chicken
 %dir %{_libdir}/chicken/6
 %{_libdir}/chicken/6/*
 %{_mandir}/man1/*
-
-%files doc
 %{_docdir}/chicken/manual
 
+%files libs
+%{_libdir}/libchicken.so*
+
 %changelog
+* Sat Dec 14 2013 Ricky Elrod <codeblock at fedoraproject.org> - 4.8.0.5-3
+- Get rid of docs subpackage.
+- Add a -libs subpackage for the runtime library.
+
 * Sun Dec 8 2013 Ricky Elrod <codeblock at fedoraproject.org> - 4.8.0.5-2
 - Add -Wformat for BZ #1037013.
 


More information about the scm-commits mailing list