[python-bitmath/f20] Update to 1.1.0-1

Timothy Bielawa tbielawa at fedoraproject.org
Mon Dec 22 00:39:50 UTC 2014


commit fa455435d27e90e8bc0b43f8af28bb359cfbe7ab
Author: Tim Bielawa <tbielawa at redhat.com>
Date:   Sun Dec 21 19:38:59 2014 -0500

    Update to 1.1.0-1

 .gitignore          |    1 +
 python-bitmath.spec |   15 ++++++++++++---
 sources             |    2 +-
 3 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 30d6b3b..d652880 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /1.0.4-1.tar.gz
 /1.0.5-1.tar.gz
 /1.0.8-3.tar.gz
+/1.1.0-1.tar.gz
diff --git a/python-bitmath.spec b/python-bitmath.spec
index e60bc2f..151716a 100644
--- a/python-bitmath.spec
+++ b/python-bitmath.spec
@@ -5,11 +5,11 @@
 %endif
 
 %global _short_name bitmath
-%global _short_release 3
+%global _short_release 1
 
 Name: python-bitmath
 Summary: Aids representing and manipulating sizes in various prefix notations
-Version: 1.0.8
+Version: 1.1.0
 Release: %{_short_release}%{?dist}
 
 Group: Development/Libraries
@@ -20,6 +20,8 @@ Url: https://github.com/tbielawa/bitmath
 BuildArch: noarch
 BuildRequires: python2-devel
 BuildRequires: python-nose
+%{?el6:Requires: python-argparse}
+%{?el6:BuildRequires: python-argparse}
 %{?el6:BuildRequires: python-unittest2}
 
 %description
@@ -35,7 +37,7 @@ In addition to the conversion and math operations, bitmath provides
 human readable representations of values which are suitable for use in
 interactive shells as well as larger scripts and applications.
 
-bitmath is thoroughly unittested, with over 100 individual tests (a
+bitmath is thoroughly unittested, with over 150 individual tests (a
 number which is always increasing). bitmaths test-coverage is almost
 always at 100%.
 
@@ -50,12 +52,19 @@ nosetests -v
 
 %install
 %{__python2} setup.py install -O1 --root=$RPM_BUILD_ROOT --record=python-bitmath-files.txt
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
+cp -v *.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
 
 %files -f python-bitmath-files.txt
 %dir %{python2_sitelib}/%{_short_name}
 %doc README.md LICENSE
+%doc %{_mandir}/man1/bitmath.1*
 
 %changelog
+* Sat Dec 20 2014 Tim Bielawa <tbielawa at redhat.com> - 1.1.0-1
+- New parse_string utility function from tonycpsu
+- 'bitmath' tool added for converting on the command line
+
 * Fri Aug 15 2014 Tim Bielawa <tbielawa at redhat.com> - 1.0.8-3
 - Actually fix this whole specfile and version mixup
 
diff --git a/sources b/sources
index d7db3d1..2291924 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8477666508f722462974a8521987f5fd  1.0.8-3.tar.gz
+08d7760f5fd00027024346b839366655  1.1.0-1.tar.gz


More information about the scm-commits mailing list