[logrotate: 1/2] new upstream version 3.8.8

Jan Kaluža jkaluza at fedoraproject.org
Thu Oct 16 12:01:56 UTC 2014


commit 74b7164161f3d855e4f5ef70742513b755db013f
Author: Jan Kaluza <jkaluza at redhat.com>
Date:   Thu Oct 16 13:35:51 2014 +0200

    new upstream version 3.8.8

 .gitignore     |    1 +
 logrotate.spec |   16 ++++++++++++----
 sources        |    2 +-
 3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3b5155e..c450ea2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ logrotate-3.7.9.tar.gz
 /logrotate-3.8.5.tar.gz
 /logrotate-3.8.6.tar.gz
 /logrotate-3.8.7.tar.gz
+/logrotate-3.8.8.tar.gz
diff --git a/logrotate.spec b/logrotate.spec
index e33ab76..ec4672d 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -1,7 +1,7 @@
 Summary: Rotates, compresses, removes and mails system log files
 Name: logrotate
-Version: 3.8.7
-Release: 2%{?dist}
+Version: 3.8.8
+Release: 1%{?dist}
 License: GPL+
 Group: System Environment/Base
 Url: https://fedorahosted.org/logrotate/
@@ -9,6 +9,7 @@ Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar
 
 Requires: coreutils >= 5.92 popt
 BuildRequires: libselinux-devel popt-devel libacl-devel acl
+BuildRequires: autoconf automake libtool
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -26,14 +27,18 @@ log files on your system.
 %setup -q
 
 %build
-make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" WITH_SELINUX=yes WITH_ACL=yes
+export CFLAGS="$RPM_OPT_FLAGS"
+
+./autogen.sh
+%configure
+make %{?_smp_mflags}
 
 %check
 make test
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
+make install DESTDIR=$RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily
 mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib
@@ -57,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/logrotate.status
 
 %changelog
+* Thu Oct 16 2014 Jan Kaluza <jkaluza at redhat.com> - 3.8.8-1
+- new upstream version 3.8.8
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.8.7-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 47cf125..a342517 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-99e08503ef24c3e2e3ff74cc5f3be213  logrotate-3.8.7.tar.gz
+49846e873dddea15964cd0355b9943ca  logrotate-3.8.8.tar.gz


More information about the scm-commits mailing list