Break sub-package depencies, put documentation
This commit is contained in:
parent
c6b0e14b40
commit
9dd3d3c1c4
28
quota.spec
28
quota.spec
@ -5,7 +5,7 @@ Name: quota
|
||||
Summary: System administration tools for monitoring users' disk usage
|
||||
Epoch: 1
|
||||
Version: 3.17
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
License: BSD and GPLv2+
|
||||
URL: http://sourceforge.net/projects/linuxquota/
|
||||
Group: System Environment/Base
|
||||
@ -38,7 +38,6 @@ and limiting user and or group disk usage per file system.
|
||||
%package nld
|
||||
Summary: quota_nld daemon
|
||||
Group: System Environment/Base
|
||||
Requires: quota = %{epoch}:%{version}-%{release}
|
||||
Requires: initscripts
|
||||
Requires(post): chkconfig
|
||||
Requires(preun): chkconfig initscripts
|
||||
@ -75,6 +74,17 @@ This package contains development header files for implementing quotas
|
||||
on remote machines.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Additional documentation for disk quotas
|
||||
Group: Documentation
|
||||
Requires: quota = %{epoch}:%{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
This package contains additional documentation for disk quotas concept in
|
||||
Linux/UNIX environment.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n quota-tools
|
||||
%patch0 -p1
|
||||
@ -91,6 +101,8 @@ on remote machines.
|
||||
%patch10 -p1 -b .gfs2
|
||||
# quotactl(2) moved into `man-pages' package (bug #640590)
|
||||
rm -f quotactl.2
|
||||
# remove VCS files
|
||||
rm -rf doc/CVS
|
||||
|
||||
#fix typos/mistakes in localized documentation
|
||||
for pofile in $(find ./po/*.p*)
|
||||
@ -162,6 +174,7 @@ rm -rf %{buildroot}
|
||||
%attr(0644,root,root) %{_mandir}/man8/*
|
||||
%exclude %{_mandir}/man8/quota_nld.8*
|
||||
%exclude %{_mandir}/man8/warnquota.8*
|
||||
%doc Changelog
|
||||
|
||||
%files nld
|
||||
%defattr(-,root,root,-)
|
||||
@ -169,6 +182,7 @@ rm -rf %{buildroot}
|
||||
%attr(0755,root,root) %{_initrddir}/quota_nld
|
||||
%attr(0755,root,root) %{_sbindir}/quota_nld
|
||||
%attr(0644,root,root) %{_mandir}/man8/quota_nld.8*
|
||||
%doc Changelog
|
||||
|
||||
%files warnquota
|
||||
%defattr(-,root,root,-)
|
||||
@ -177,6 +191,7 @@ rm -rf %{buildroot}
|
||||
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/warnquota.conf
|
||||
%attr(0755,root,root) %{_sbindir}/warnquota
|
||||
%attr(0644,root,root) %{_mandir}/man8/warnquota.8*
|
||||
%doc Changelog README.ldap-support README.mailserver
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -184,8 +199,17 @@ rm -rf %{buildroot}
|
||||
%{_includedir}/rpcsvc/*
|
||||
%attr(0644,root,root) %{_mandir}/man3/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 15 2010 Petr Pisar <ppisar@redhat.com> - 1:3.17-16
|
||||
- Break dependecies on main package as there are none
|
||||
- Add plain text documentation to each sub-package
|
||||
- Package additional documentation into `doc' sub-package
|
||||
|
||||
* Thu Nov 11 2010 Petr Pisar <ppisar@redhat.com> - 1:3.17-15
|
||||
- Add quota_nld deamon init script (bug #634169)
|
||||
- Sub-package quota_nld files to weak dependecies
|
||||
|
||||
Loading…
Reference in New Issue
Block a user