Skip to content

Commit

Permalink
Remove .spec
Browse files Browse the repository at this point in the history
This package can be built using setuptools
Update maintainer to weakcamel
  • Loading branch information
weakcamel committed Sep 29, 2017
1 parent f736dd4 commit 4f81d17
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ coverage.xml
# Sphinx documentation
docs/_build/


# Other
MANIFEST
36 changes: 4 additions & 32 deletions git2changelog.spec → CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,36 +1,8 @@
Summary: To convert git logs into formatted changelog entries
Name: git2changelog
Version: 0.1
Release: 6%{dist}
Source0: http://people.redhat.com/jduncan/%{name}/%{name}-%{version}.tar.gz
License: GPLv2
BuildArch: noarch
Requires: python-dateutil
BuildRequires: python2-devel
BuildRequires: python-setuptools
Url: https://github.com/jduncan-rva/git2changelog
* Fri Sep 29 2017 Waldek Maleska <[email protected]> - 0.2-1
- PEP-8 cleanup
- switch to argparse module from optparse (obsolete)
- remove RPM spec file in preparation to build with setuptools instead

%description
git2changelog analyzes a git repository to create a formatted changelog

%prep
%setup -q -n %{name}-%{version}

%build
%{__python2} setup.py build

%install
%{__python2} setup.py install -O1 --root=$RPM_BUILD_ROOT

%files
%dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/*
%{_mandir}/man8/%{name}.8*
%{python2_sitelib}/*egg-info
%{python2_sitelib}/%{name}*
%{_bindir}/%{name}

%changelog
* Mon Jun 09 2014 Jamie Duncan <[email protected]> - 0.1-6
- updated spec file to reflect r6
- added functionality to be able to parse files in different formats and updated docs. fixes #6 : Commit 42f6e76
Expand Down
1 change: 1 addition & 0 deletions README
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ git2changelog

# Purpose
git2changelog analyzes git repositories to generate formatted changelogs

# Origin

This is a fork of https://github.com/jduncan-rva/git2changelog
which appears to not be maintaned anymore.

# Usage
```bash
git2changelog -r REPO -b BEGIN_TAG [-e END_TAG -s SEARCH_STRING]
Expand All @@ -23,5 +29,7 @@ git2changelog -r REPO -b BEGIN_TAG [-e END_TAG -s SEARCH_STRING]
-r REPO, --repo=REPO Repository to Scan. defaults to current directory.
```
#Mailing Lists


# Mailing Lists
None Yet
27 changes: 15 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""
git2changelog module packaging configurationa
Fork of https://github.com/jduncan-rva/git2changelog
"""

from distutils.core import setup

Expand All @@ -22,25 +27,23 @@

setup(
name=name,
license = 'GPLv2',
license='GPLv2',
version=version,
description='To analyze git repositories and create formatted changelogs',
author='Jamie Duncan',
author_email='[email protected]',
url='https://github.com/jduncan-rva/git2changelog',
maintainer='Jamie Duncan',
maintainer_email = 'jduncan@redhat.com',
url='https://github.com/weakcamel/git2changelog',
maintainer='Waldek Maleska',
maintainer_email='w.maleska@gmail.com',
long_description='git2changelog analyze gits repositories and generates formatted changelogs',
package_dir={'': 'src'},
py_modules=['git2changelog'],
scripts = ['scripts/git2changelog'],
scripts=['scripts/git2changelog'],
data_files=[
('/usr/share/doc/%s-%s' % (name,version), ['doc/LICENSE']),
('/usr/share/man/man8', ['doc/git2changelog.8.gz']),
],
('/usr/share/doc/%s-%s' % (name, version), ['doc/LICENSE']),
('/usr/share/man/man8', ['doc/git2changelog.8.gz']),
],
install_requires=[
"python-dateutil"
],
"python-dateutil",
],
)


0 comments on commit 4f81d17

Please sign in to comment.