File: vzquota.spec

package info (click to toggle)
vzquota 3.1-4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 316 kB
  • sloc: ansic: 4,161; makefile: 93
file content (97 lines) | stat: -rw-r--r-- 3,107 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Summary: Virtuozzo/OpenVZ disk quota control utility
Name: vzquota
Version: 3.1
Release: 1%{?dist}
License: GPL
Group: System Environment/Kernel
Source: http://download.openvz.org/utils/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
ExclusiveOS: Linux
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: vzquotamod
URL: http://openvz.org/

%description
This utility allows system administator to control disk quotas
for Virtuozzo/OpenVZ containers.

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%attr(755,root,root) %{_sbindir}/vzquota
%attr(755,root,root) %{_sbindir}/vzdqcheck
%attr(755,root,root) %{_sbindir}/vzdqdump
%attr(755,root,root) %{_sbindir}/vzdqload
%attr(755,root,root) %{_var}/vzquota
%attr(644,root,root) %{_mandir}/man8/vzquota.8*
%attr(644,root,root) %{_mandir}/man8/vzdqcheck.8*
%attr(644,root,root) %{_mandir}/man8/vzdqdump.8*
%attr(644,root,root) %{_mandir}/man8/vzdqload.8*

%changelog
* Tue Sep 11 2012 Kir Kolyshkin <kir@openvz.org> - 3.1-1
- New functionality:
- * vzdqdump, vzdqload: add -F to dump/load first level quotas
- Fixes:
- * Make ext4 delalloc work with vzquota (#2035)
- * fix quota init fail then run from deleted directory
- * fix building with fresh toolchain (#1357 etc.)
- * skip quota file locking on 'vzquota show' action
- * fix to work with more than 1 TB quotas
- * correct exit code in case quota file does not exist
- * minor code style fixes
- * whitespace cleanups
- Improvements:
- * quota on: more info on failed quota on with EEXIST
- * quota off: enable detailed info on fail by default
- * quota off: add processing EIO
- * man/*: assorted fixes and formatting improvements
- * man/vzquota: minor improvements (#2310)
- * vzdqdump, vzdqload: fix typo in usage
- * Makefile: Don't strip executable, respect LDFLAGS (#1191)

* Thu Mar 06 2008 Kir Kolyshkin <kir@openvz.org> - 3.0.12-1
- updated description, VE->container terminology change

* Wed Jun 13 2007 Andy Shevchenko <andriy@asplinux.com.ua> - 3.0.9-1
- fixed according to Fedora Packaging Guidelines:
  - use dist tag
  - removed Vendor tag
  - added URL tag
  - use full url for source
  - changed BuildRoot tag

* Mon Oct 09 2006 Dmitry Mishin <dim-at-openvz.org> 3.0.9-1
- added README and NEWS files
- deleted debian directory (requested by debian package maintainers)
- fixed compilation on ppc64 platform.

* Tue Apr 18 2006 Kir Kolyshkin <kir-at-openvz.org> 3.0.0-5
- fixed license in man pages

* Wed Mar 15 2006 Andrey Mirkin <amirkin-at-sw.ru> 3.0.0-3
- added new function to reload 2nd level quota

* Mon Feb  6 2006 Kir Kolyshkin <kir-at-openvz.org> 3.0.0-2
- fixed gcc4 compilation issue

* Fri Sep 09 2005 Dmitry Mishin <dim_at_sw.ru> 2.7.0-7
- fixes to use new vzkernel headers provisioning scheme

* Thu Aug 11 2005 Dmitry Mishin <dim_at_sw.ru> 2.7.0-5
- reworked hard links check
- mans fixes

* Sat Aug 06 2005 Dmitry Mishin <dim_at_sw.ru> 2.7.0-4
- adopted for new vzctl_quota ioctls