[units] provide a man page for units_cur as a symlink to units.1

Kamil Dudka kdudka at fedoraproject.org
Mon May 20 13:32:24 UTC 2013


commit 1f5cf84913d1f8bdb3f11428be2b49bc3b732130
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Mon May 20 15:24:45 2013 +0200

    provide a man page for units_cur as a symlink to units.1

 units.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/units.spec b/units.spec
index e272731..abdb83c 100644
--- a/units.spec
+++ b/units.spec
@@ -1,7 +1,7 @@
 Summary: A utility for converting amounts from one unit to another
 Name: units
 Version: 2.01
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
 URL: http://www.gnu.org/software/units/units.html
 License: GPLv3+
@@ -30,6 +30,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 gzip $RPM_BUILD_ROOT%{_infodir}/units.info
 
+# provide a man page for units_cur as a symlink to units.1
+ln -s units.1 %{buildroot}%{_mandir}/man1/units_cur.1
+
 %check
 make check
 
@@ -51,6 +54,9 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Mon May 20 2013 Kamil Dudka <kdudka at redhat.com> - 2.01-3
+- provide a man page for units_cur as a symlink to units.1
+
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.01-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list