mskalick pushed to libdbi (master). "Add doc subpackage (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 28 07:09:14 UTC 2015


From eae2e65dd19e588f932d86d4cc1d1b205b9c8b9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Skalick=C3=BD?= <mskalick at redhat.com>
Date: Thu, 28 May 2015 09:09:06 +0200
Subject: Add doc subpackage

- Change license handling

diff --git a/libdbi.spec b/libdbi.spec
index e742e5a..54cceed 100644
--- a/libdbi.spec
+++ b/libdbi.spec
@@ -1,7 +1,7 @@
 Summary: Database Independent Abstraction Layer for C
 Name: libdbi
 Version: 0.9.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: Development/Libraries
 License: LGPLv2+
 URL: http://libdbi.sourceforge.net/
@@ -28,12 +28,21 @@ contains the plugins needed to interface to specific database servers.
 %package devel
 Summary: Development files for libdbi (Database Independent Abstraction Layer for C)
 Group: Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 
 %description devel
 The libdbi-devel package contains the header files and documentation
 needed to develop applications with libdbi.
 
+%package doc
+Summary: Documentation for libdbi (Database Independent Abstraction Layer for C)
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description doc
+The libdbi-doc package contains guides for development of applications with libdbi.
+
+
+
 %prep
 %setup -q -n %{name}-%{version}
 
@@ -62,21 +71,28 @@ rm -rf ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}
 %files
 %doc AUTHORS
 %doc ChangeLog
-%doc COPYING
 %doc README
+%doc NEWS
+%license COPYING
 %{_libdir}/libdbi.so.*
 
 %files devel
 %doc TODO
+%{_includedir}/dbi/
+%{_libdir}/libdbi.so
+%{_libdir}/pkgconfig/dbi.pc
+
+%files doc
 %doc doc/programmers-guide.pdf
 %doc doc/programmers-guide/
 %doc doc/driver-guide.pdf
 %doc doc/driver-guide/
-%{_includedir}/dbi/
-%{_libdir}/libdbi.so
-%{_libdir}/pkgconfig/dbi.pc
 
 %changelog
+* Wed May 27 2015 Marek Skalicky <mskalick at redhat.com> - 0.9.0-4
+- Add doc subpackage
+- Change license handling
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libdbi.git/commit/?h=master&id=eae2e65dd19e588f932d86d4cc1d1b205b9c8b9c


More information about the scm-commits mailing list