2008-05-06 16:45:49 +00:00
|
|
|
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
|
2008-07-03 11:44:24 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
2008-05-06 16:45:49 +00:00
|
|
|
|
2008-07-03 11:44:24 +00:00
|
|
|
Name: python-augeas
|
2008-09-09 08:21:14 +00:00
|
|
|
Version: 0.3.0
|
2011-02-18 12:01:02 +00:00
|
|
|
Release: 7%{?dist}
|
2008-07-03 11:44:24 +00:00
|
|
|
Summary: Python bindings to augeas
|
|
|
|
Group: Development/Languages
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://augeas.net/
|
|
|
|
Source0: http://augeas.net/download/python/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: augeas-libs
|
|
|
|
BuildArch: noarch
|
2008-05-06 16:45:49 +00:00
|
|
|
|
2008-07-03 11:54:50 +00:00
|
|
|
BuildRequires: python-setuptools python-devel
|
2008-05-06 16:45:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
python-augeas is a set of Python bindings around augeas.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Remove CFLAGS=... for noarch packages (unneeded)
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build_ext -i
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING AUTHORS README.txt
|
2008-07-03 11:44:24 +00:00
|
|
|
%{python_sitelib}/augeas.py*
|
2011-02-18 12:01:02 +00:00
|
|
|
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
|
2008-07-03 11:44:24 +00:00
|
|
|
%{python_sitelib}/*augeas*.egg-info
|
2011-02-18 12:01:02 +00:00
|
|
|
%endif
|
2008-05-06 16:45:49 +00:00
|
|
|
|
|
|
|
%changelog
|
2011-02-18 12:01:02 +00:00
|
|
|
* Fri Feb 18 2011 Harald Hoyer <harald@redhat.com> 0.3.0-7
|
|
|
|
- only include egg-info, if fedora >=9 or rhel >= 6
|
|
|
|
Resolves: rhbz#661452
|
|
|
|
|
2011-02-09 02:58:17 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-22 03:50:54 +00:00
|
|
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2009-07-26 20:09:15 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 20:46:32 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 15:27:14 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.0-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-09 08:21:14 +00:00
|
|
|
* Tue Sep 09 2008 Harald Hoyer <harald@redhat.com> 0.3.0-1
|
|
|
|
- version 0.3.0
|
|
|
|
|
2008-07-03 11:44:24 +00:00
|
|
|
* Thu Jul 03 2008 Harald Hoyer <harald@redhat.com> 0.2.1-1
|
|
|
|
- version 0.2.1
|
|
|
|
|
|
|
|
* Wed Jun 11 2008 Harald Hoyer <harald@redhat.com> 0.2.0-1
|
|
|
|
- switched to noarch, dlopen/ python bindings
|
|
|
|
|
2008-05-06 16:45:49 +00:00
|
|
|
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-4
|
|
|
|
- version to import in CVS (rhbz#444945)
|
|
|
|
|
|
|
|
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-3
|
|
|
|
- set mode of _augeas.so to 0755
|
|
|
|
|
|
|
|
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-2
|
|
|
|
- wildcard to catch egg-info in case it is build
|
|
|
|
|
|
|
|
* Fri May 02 2008 Harald Hoyer <harald@redhat.com> 0.1.0-1
|
|
|
|
- new version
|
|
|
|
|
|
|
|
* Wed Apr 16 2008 Harald Hoyer <harald@redhat.com> - 0.0.8-1
|
|
|
|
- initial version
|