summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Woerner <twoerner@fedoraproject.org>2005-11-09 17:07:28 +0000
committerThomas Woerner <twoerner@fedoraproject.org>2005-11-09 17:07:28 +0000
commitbd87502d9bb3313f00c44a5cba1b60b1e30530c7 (patch)
treee0d7adfd034be9d6bbf4a862a0ce52a333303cce
parentf7d64e8678bc09bda6eb66fd681ce3a88b530d8e (diff)
downloade2fsprogs-bd87502d9bb3313f00c44a5cba1b60b1e30530c7.tar.gz
e2fsprogs-bd87502d9bb3313f00c44a5cba1b60b1e30530c7.tar.xz
e2fsprogs-bd87502d9bb3313f00c44a5cba1b60b1e30530c7.zip
- splitted up libs from main package, into a new e2fsprogs-libs package - fixed requires and prereqs
-rw-r--r--e2fsprogs.spec39
1 files changed, 26 insertions, 13 deletions
diff --git a/e2fsprogs.spec b/e2fsprogs.spec
index 87b9dcf..9461976 100644
--- a/e2fsprogs.spec
+++ b/e2fsprogs.spec
@@ -4,7 +4,7 @@
Summary: Utilities for managing the second extended (ext2) filesystem.
Name: e2fsprogs
Version: 1.38
-Release: 1
+Release: 2
License: GPL
Group: System Environment/Base
Source: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/e2fsprogs-%{version}.tar.gz
@@ -24,10 +24,9 @@ Patch28: e2fsprogs-1.37-blkid-nomagicvfat.patch
Patch29: e2fsprogs-1.38-close-on-error.patch
Patch30: e2fsprogs-1.38-resize-inode.patch
Patch31: e2fsprogs-1.38-man_no_ext2resize.patch
-
Url: http://e2fsprogs.sourceforge.net/
-Prereq: /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-root
+Requires: e2fsprogs-libs = %{version}-%{release}
BuildRequires: gettext, texinfo, autoconf, automake
%define ext2resize_basever 1.1.17
@@ -47,10 +46,18 @@ the other core ext2fs filesystem utilities.
You should install the e2fsprogs package if you need to manage the
performance of an ext2 filesystem.
+%package libs
+Summary: Ext2 filesystem-specific static libraries and headers.
+Group: Development/Libraries
+Prereq: /sbin/ldconfig
+
+%description libs
+E2fsprogs-lib contains the libraries of the e2fsprogs package.
+
%package devel
Summary: Ext2 filesystem-specific static libraries and headers.
Group: Development/Libraries
-Requires: e2fsprogs = %{version}
+Requires: e2fsprogs-libs = %{version}-%{release}
Prereq: /sbin/install-info
%description devel
@@ -146,9 +153,9 @@ popd
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%post devel
if [ -x /sbin/install-info ]; then
@@ -191,13 +198,6 @@ exit 0
%{_sbindir}/filefrag
%{_sbindir}/mklost+found
-%{_root_libdir}/libblkid.so.*
-%{_root_libdir}/libcom_err.so.*
-%{_root_libdir}/libe2p.so.*
-%{_root_libdir}/libext2fs.so.*
-%{_root_libdir}/libss.so.*
-%{_root_libdir}/libuuid.so.*
-
%{_bindir}/chattr
%{_bindir}/lsattr
%{_bindir}/uuidgen
@@ -229,6 +229,15 @@ exit 0
%{_sbindir}/ext2online
%{_mandir}/man8/ext2online.8*
+%files libs
+%defattr(-,root,root)
+%{_root_libdir}/libblkid.so.*
+%{_root_libdir}/libcom_err.so.*
+%{_root_libdir}/libe2p.so.*
+%{_root_libdir}/libext2fs.so.*
+%{_root_libdir}/libss.so.*
+%{_root_libdir}/libuuid.so.*
+
%files devel
%defattr(-,root,root)
%{_infodir}/libext2fs.info*
@@ -274,6 +283,10 @@ exit 0
%{_mandir}/man3/uuid_unparse.3*
%changelog
+* Wed Nov 9 2005 Thomas Woerner <twoerner@redhat.com> 1.38-2
+- splitted up libs from main package, into a new e2fsprogs-libs package
+- fixed requires and prereqs
+
* Thu Sep 8 2005 Thomas Woerner <twoerner@redhat.com> 1.38-1
- new version 1.38
- Close File descriptor for unregognized devices (#159878)