]> git.pld-linux.org Git - packages/cronolog.git/commitdiff
- use configure macro and DESTDIR-style install; added info page
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 31 Mar 2003 13:32:27 +0000 (13:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cronolog.spec -> 1.3

cronolog.spec

index adfde2d924146f509607a3a9a968d8c475de59cf..6b3cb6af0580afc451b5ea982083bfe5a63df89d 100644 (file)
@@ -29,7 +29,7 @@ do rotacji log
 %setup -q -n %{name}-%{version}
 
 %build
-./configure
+%configure2_13
 
 %{__make}
 
@@ -37,15 +37,21 @@ do rotacji log
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       prefix=$RPM_BUILD_ROOT%{_prefix} \
-       mandir=$RPM_BUILD_ROOT%{_mandir}
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_sbindir}/cronolog
 %attr(755,root,root) %{_sbindir}/cronosplit
-%attr(644,root,root) %{_mandir}/man1/*.1*
+%{_mandir}/man1/*.1*
+%{_infodir}/*.info*
This page took 0.064797 seconds and 4 git commands to generate.