From 4397c6698f0c47c137133b839d2c1f05556ddf43 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Sep 10 2008 10:19:28 +0000 Subject: fix rpmlint warnings, rquota headers and manpage now in devel subpackage (#226353) --- diff --git a/quota.spec b/quota.spec index ca0bd0b..3643cc5 100644 --- a/quota.spec +++ b/quota.spec @@ -5,7 +5,7 @@ Name: quota Summary: System administration tools for monitoring users' disk usage Epoch: 1 Version: 3.16 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD and GPLv2+ URL: http://sourceforge.net/projects/linuxquota/ Group: System Environment/Base @@ -27,6 +27,18 @@ Patch7: quota-3.16-upstreampatches.patch The quota package contains system administration tools for monitoring and limiting user and or group disk usage per filesystem. +%package devel +Summary: Development files for quota +Group: System Environment/Base +Requires: quota = %{epoch}:%{version}-%{release} + +%description devel +The quota package contains system administration tools for monitoring +and limiting user and or group disk usage per filesystem. + +This package contains development header files for implementing quotas +on remote machines. + %prep %setup -q -n quota-tools @@ -73,7 +85,7 @@ rm -f %{buildroot}%{_sbindir}/quot rm -f %{buildroot}%{_sbindir}/xqmstats rm -f %{buildroot}%{_mandir}/man8/quot.* rm -f %{buildroot}%{_mandir}/man8/xqmstats.* -ln -s %{_mandir}/man8/quotaon.8 \ +ln -sf ./quotaon.8 \ %{buildroot}%{_mandir}/man8/quotaoff.8 %find_lang %{name} @@ -83,20 +95,27 @@ rm -rf %{buildroot} %files -f %{name}.lang -%defattr(-,root,root) +%defattr(-,root,root,-) %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/* %attr(0755,root,root) /sbin/* %attr(0755,root,root) %{_bindir}/* %attr(0755,root,root) %{_sbindir}/* -%dir %{_includedir}/rpcsvc -%{_includedir}/rpcsvc/* %attr(0644,root,root) %{_mandir}/man1/* %attr(0644,root,root) %{_mandir}/man2/* -%attr(0644,root,root) %{_mandir}/man3/* %attr(0644,root,root) %{_mandir}/man8/* +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/rpcsvc +%{_includedir}/rpcsvc/* +%attr(0644,root,root) %{_mandir}/man3/* %changelog +* Wed Sep 10 2008 Ondrej Vasik 1:3.16-5 +- fix rpmlint warnings - absolute symlink and not using epoch + in version in changelog (#226353) +- rquota headers and manpage now in devel subpackage + * Wed Aug 27 2008 Ondrej Vasik 3.16-4 - fix bug in warnquota which could result in bogus hostname and domainname (upstream)