[check_postgres/epel7] Fix man page path Simplify spec file

Devrim GÜNDÜZ devrim at fedoraproject.org
Wed Jan 7 10:17:19 UTC 2015


commit 79b14d398aea2432cb88e21019189bf8e977fcc6
Author: Devrim Gündüz <devrim at gunduz.org>
Date:   Wed Jan 7 10:17:13 2015 +0000

     Fix man page path
    Simplify spec file

 check_postgres.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/check_postgres.spec b/check_postgres.spec
index d1d50a1..163543e 100644
--- a/check_postgres.spec
+++ b/check_postgres.spec
@@ -24,13 +24,8 @@ make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-
-install -d %{buildroot}%{_bindir}/
-install -d %{buildroot}%{_docdir}/%{name}-%{version}
-install -d %{buildroot}%{_mandir}/man3/
-install -p -m 755 %{name}.pl %{buildroot}%{_bindir}/
-install -p -m 644 %{name}.pl.html README TODO %{buildroot}%{_docdir}/%{name}-%{version}/
-install -p -m 644 blib/man3/check_postgres.3 %{buildroot}%{_mandir}/man3/
+make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
+%{__rm} -f %{buildroot}%{_libdir}/perl5/vendor_perl/auto/check_postgres/.packlist
 
 %clean
 rm -rf %{buildroot}
@@ -38,10 +33,14 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc %{name}.pl.html README TODO
-%{_mandir}/man3/%{name}.*
+%{_mandir}/man1/%{name}*
 %{_bindir}/%{name}.pl
 
 %changelog
+* Tue Jan 06 2015 Devrim Gündüz <devrim at gunduz.org> - 2.21.0-1
+- Update to 2.21.0
+- Simplify spec file
+
 * Wed Sep 11 2013 - Devrim GUNDUZ <devrim at gunduz.org> 2.20.1-1
 - Update to 2.20.1, per changes described at
   https://mail.endcrypt.com/pipermail/check_postgres-announce/2013-June/000033.html


More information about the scm-commits mailing list