Skip to content

Commit

Permalink
Fix setup.py. Fix specfile macro expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
tbielawa committed Aug 15, 2014
1 parent 17a39d0 commit 89a8faf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -93,7 +93,7 @@ install: clean
sdist: setup.py clean
python setup.py sdist -t MANIFEST.in

rpmcommon: sdist python-bitmath.spec setup.py docs
rpmcommon: sdist python-bitmath.spec setup.py
@mkdir -p rpm-build
@cp dist/$(NAME)-$(VERSION)-$(RPMRELEASE).tar.gz rpm-build/$(VERSION)-$(RPMRELEASE).tar.gz

Expand Down
7 changes: 5 additions & 2 deletions python-bitmath.spec.in
Expand Up @@ -5,7 +5,7 @@
%endif

%global _short_name bitmath
%global _short_release 1
%global _short_release 2

Name: python-bitmath
Summary: Aids representing and manipulating sizes in various prefix notations
Expand Down Expand Up @@ -56,7 +56,10 @@ nosetests -v
%doc README.md LICENSE

%changelog
* Thu Aug 14 2014 Tim Bielawa <tbielawa@redhat.com> - %VERSION%-1%{?dist}
* Fri Aug 15 2014 Tim Bielawa <tbielawa@redhat.com> - 1.0.8-2
- Fix macro expansion in specfile changelog

* Thu Aug 14 2014 Tim Bielawa <tbielawa@redhat.com> - 1.0.8-1
- First release with contributors: davidfischer-ch and hikusukih! Thank you!
- Real documentation (via readthedocs.org)
- Significant formatting functionality added:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -29,7 +29,7 @@
pypi_notice = open('.pypi_notice', 'r').read()

setup(name='bitmath',
version='1.0.8-1',
version='1.0.8-2',
description='Pythonic module for representing and manipulating file sizes with different prefix notations.',
long_description=pypi_notice,
maintainer='Tim Bielawa',
Expand Down

0 comments on commit 89a8faf

Please sign in to comment.