From 1f53ce0a44c0303d0ced57d3a684ece6faebb2b2 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 07 2014 12:34:02 +0000 Subject: import python-augeas-0.4.1-5.el7.src.rpm --- diff --git a/.python-augeas.metadata b/.python-augeas.metadata new file mode 100644 index 0000000..0cd1a75 --- /dev/null +++ b/.python-augeas.metadata @@ -0,0 +1 @@ +da3b93feae7bab5b1f699d3b51f57708aa1321e5 SOURCES/python-augeas-0.4.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-augeas.spec b/SPECS/python-augeas.spec new file mode 100644 index 0000000..2d2ae87 --- /dev/null +++ b/SPECS/python-augeas.spec @@ -0,0 +1,112 @@ +# sitelib for noarch packages, sitearch for others (remove the unneeded one) +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 9 || 0%{?rhel} >= 6 +%bcond_without egg +%endif + +Name: python-augeas +Version: 0.4.1 +Release: 5%{?dist} +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 +Requires: python-ctypes +BuildArch: noarch + +BuildRequires: python-setuptools python-devel + +%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 +%{python_sitelib}/augeas.py* +%if %{with egg} +%{python_sitelib}/*augeas*.egg-info +%endif + +%changelog +* Tue Oct 22 2013 Greg Swift - 0.4.1-5 +- add python-ctypes dependency (rhbz#1020239) + +* Sun Aug 04 2013 Fedora Release Engineering - 0.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jan 16 2012 Greg Swift 0.4.1-1 +- version 0.4.1 +- include egg only on F-9, RHEL-6 and later + +* Sat Jan 14 2012 Fedora Release Engineering - 0.3.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Feb 18 2011 Harald Hoyer 0.3.0-7 +- only include egg-info, if fedora >=9 or rhel >= 6 +Resolves: rhbz#661452 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 21 2010 David Malcolm - 0.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.3.0-2 +- Rebuild for Python 2.6 + +* Tue Sep 09 2008 Harald Hoyer 0.3.0-1 +- version 0.3.0 + +* Thu Jul 03 2008 Harald Hoyer 0.2.1-1 +- version 0.2.1 + +* Wed Jun 11 2008 Harald Hoyer 0.2.0-1 +- switched to noarch, dlopen/ python bindings + +* Mon May 05 2008 Harald Hoyer 0.1.0-4 +- version to import in CVS (rhbz#444945) + +* Mon May 05 2008 Harald Hoyer 0.1.0-3 +- set mode of _augeas.so to 0755 + +* Mon May 05 2008 Harald Hoyer 0.1.0-2 +- wildcard to catch egg-info in case it is build + +* Fri May 02 2008 Harald Hoyer 0.1.0-1 +- new version + +* Wed Apr 16 2008 Harald Hoyer - 0.0.8-1 +- initial version