|
|
f19dc91 |
%global mod_name setuptools_git
|
|
|
f19dc91 |
%global pypi_name setuptools-git
|
|
|
f19dc91 |
|
|
|
f19dc91 |
Name: python-%{mod_name}
|
|
|
f19dc91 |
Version: 0.4.2
|
|
|
aaf51c7 |
Release: 5%{?dist}
|
|
|
f19dc91 |
Summary: Setuptools revision control system plugin for Git
|
|
|
f19dc91 |
|
|
|
f19dc91 |
Group: Development/Libraries
|
|
|
f19dc91 |
License: Public Domain
|
|
|
f19dc91 |
URL: http://pypi.python.org/pypi/%{pypi_name}
|
|
|
f19dc91 |
Source0: http://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
f19dc91 |
|
|
|
f19dc91 |
BuildArch: noarch
|
|
|
f19dc91 |
BuildRequires: python2-devel
|
|
|
f19dc91 |
BuildRequires: python-setuptools
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%description
|
|
|
f19dc91 |
This is a plugin for setup tools that enables Git integration. Once
|
|
|
f19dc91 |
installed, Setuptools can be told to include in a module distribution
|
|
|
f19dc91 |
all the files tracked by git. This is an alternative to explicit
|
|
|
f19dc91 |
inclusion specifications with MANIFEST.in.
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%prep
|
|
|
f19dc91 |
%setup -q -n %{pypi_name}-%{version}
|
|
|
f19dc91 |
# rpmlint E: non-executable-script
|
|
|
f19dc91 |
sed -i '/^#!\/usr\/bin\/env python/d' setuptools_git.py
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%build
|
|
|
f19dc91 |
%{__python} setup.py build
|
|
|
f19dc91 |
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%install
|
|
|
f19dc91 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
f19dc91 |
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%files
|
|
|
f19dc91 |
%{python_sitelib}/%{mod_name}.*
|
|
|
f19dc91 |
%{python_sitelib}/*.egg-info/
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%doc PKG-INFO
|
|
|
f19dc91 |
|
|
|
f19dc91 |
|
|
|
f19dc91 |
%changelog
|
|
|
aaf51c7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-5
|
|
|
aaf51c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
aaf51c7 |
|
|
|
6a0f4a2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-4
|
|
|
6a0f4a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6a0f4a2 |
|
|
|
b027ad7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3
|
|
|
b027ad7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b027ad7 |
|
|
|
1b0d5a1 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
|
|
|
1b0d5a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1b0d5a1 |
|
|
|
f19dc91 |
* Fri Jun 29 2012 Alan Pevec <apevec@redhat.com> 0.4.2-1
|
|
|
f19dc91 |
- Initial import, based on python-setuptools_hg RPM
|