[units/f20] Resolves: #1151997 - add BR for python in order to get the units_cur script installed

Kamil Dudka kdudka at fedoraproject.org
Mon Oct 13 10:06:23 UTC 2014


commit 8ec503717e552dfd5a1ead4a797294b99f41915b
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Mon Oct 13 11:58:13 2014 +0200

    Resolves: #1151997 - add BR for python in order to get the units_cur script installed

 units.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/units.spec b/units.spec
index cae04ae..8215f3e 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.11
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
 URL: http://www.gnu.org/software/units/units.html
 License: GPLv3+
@@ -10,6 +10,7 @@ Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 BuildRequires: bison
 BuildRequires: ncurses-devel
+BuildRequires: python
 BuildRequires: readline-devel
 
 # used by the units_cur script
@@ -51,12 +52,16 @@ fi
 
 %files
 %doc ChangeLog COPYING NEWS README
-%{_bindir}/*
+%{_bindir}/units
+%{_bindir}/units_cur
 %{_datadir}/units
 %{_infodir}/*
 %{_mandir}/man1/*
 
 %changelog
+* Mon Oct 13 2014 Kamil Dudka <kdudka at redhat.com> - 2.11-2
+- add BR for python in order to get the units_cur script installed (#1151997)
+
 * Fri Oct 10 2014 Kamil Dudka <kdudka at redhat.com> - 2.11-1
 - new upstream release (#1147703)
 


More information about the scm-commits mailing list