|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Name: python-augeas
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Version: 0.2.1
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Release: 1%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Summary: Python bindings to augeas
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Group: Development/Languages
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
License: LGPLv2+
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
URL: http://augeas.net/
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Source0: http://augeas.net/download/python/%{name}-%{version}.tar.gz
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
Requires: augeas-libs
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
BuildArch: noarch
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
067104b |
BuildRequires: python-setuptools python-devel
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
7170e2a |
BuildRequires(pre): python
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
python-augeas is a set of Python bindings around augeas.
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%setup -q
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
# Remove CFLAGS=... for noarch packages (unneeded)
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build_ext -i
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
rm -rf $RPM_BUILD_ROOT
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%clean
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
rm -rf $RPM_BUILD_ROOT
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%files
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%defattr(-,root,root,-)
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%doc COPYING AUTHORS README.txt
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
7170e2a |
%{python_sitelib}/*augeas*
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
* Thu Jul 03 2008 Harald Hoyer <harald@redhat.com> 0.2.1-1
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
- version 0.2.1
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
* Wed Jun 11 2008 Harald Hoyer <harald@redhat.com> 0.2.0-1
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
- switched to noarch, dlopen/ python bindings
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
5e7af19 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-4
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
- version to import in CVS (rhbz#444945)
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-3
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
- set mode of _augeas.so to 0755
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
* Mon May 05 2008 Harald Hoyer <harald@redhat.com> 0.1.0-2
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
- wildcard to catch egg-info in case it is build
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
* Fri May 02 2008 Harald Hoyer <harald@redhat.com> 0.1.0-1
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
- new version
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
* Wed Apr 16 2008 Harald Hoyer <harald@redhat.com> - 0.0.8-1
|
|
![](https://seccdn.libravatar.org/avatar/503f27460248131cc217f3650aaf911c2974465ee303e529d728ad653b4a6554?s=16&d=retro) |
542a238 |
- initial version
|