OBS User unknown 2008-08-14 22:58:09 +00:00 committed by Git OBS Bridge
parent 9263cf655b
commit 0b1ffa9500
2 changed files with 26 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 14 17:36:08 CEST 2008 - puzel@suse.cz
- fix rpmlint warnings:
- make test moved to %check section
- require cron
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 31 14:08:47 CET 2008 - ro@suse.de Thu Jan 31 14:08:47 CET 2008 - ro@suse.de

View File

@ -2,19 +2,28 @@
# spec file for package logrotate (Version 3.7.5) # spec file for package logrotate (Version 3.7.5)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# #
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Url: https://fedorahosted.org/releases/l/o/logrotate
Name: logrotate Name: logrotate
BuildRequires: popt-devel BuildRequires: popt-devel
Summary: Rotate, Compress, Remove, and Mail System Log Files Summary: Rotate, Compress, Remove, and Mail System Log Files
Version: 3.7.5 Version: 3.7.5
Release: 28 Release: 62
License: GPL v2 or later License: GPL v2 or later
Group: System/Base Group: System/Base
Source: ftp://people.redhat.com/sopwith/logrotate-%{version}.tar.bz2 Source: ftp://people.redhat.com/sopwith/logrotate-%{version}.tar.bz2
@ -30,7 +39,7 @@ Patch14: logrotate-3.7.5-date.patch
Patch15: logrotate-3.7.5-logfn.patch Patch15: logrotate-3.7.5-logfn.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq /bin/rm /bin/mv PreReq: %fillup_prereq /bin/rm /bin/mv
Requires: bzip2 Requires: bzip2 cron
%description %description
The logrotate utility is designed to simplify the administration of log The logrotate utility is designed to simplify the administration of log
@ -63,6 +72,8 @@ Authors:
%build %build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%check
make test make test
%install %install
@ -93,6 +104,10 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace)/etc/logrotate.d/wtmp %config(noreplace)/etc/logrotate.d/wtmp
%changelog %changelog
* Thu Aug 14 2008 puzel@suse.cz
- fix rpmlint warnings:
- make test moved to %%check section
- require cron
* Thu Jan 31 2008 ro@suse.de * Thu Jan 31 2008 ro@suse.de
- log error if target file already exists - log error if target file already exists
(upgrade from MESS_DEBUG to MESS_ERROR) (upgrade from MESS_DEBUG to MESS_ERROR)