From e9e2dbe2cd2d71052223ed161f01d11a63ac79d4 Mon Sep 17 00:00:00 2001 From: Jan Hutaƙ Date: Mar 14 2010 09:07:50 +0000 Subject: Initial commit --- diff --git a/.cvsignore b/.cvsignore index e69de29..51d8210 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rpmfluff-0.3.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..a29e191 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-rpmfluff-0_3-5_fc12:HEAD:python-rpmfluff-0.3-5.fc12.src.rpm:1268548930 diff --git a/python-rpmfluff.spec b/python-rpmfluff.spec new file mode 100644 index 0000000..7edf077 --- /dev/null +++ b/python-rpmfluff.spec @@ -0,0 +1,72 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-rpmfluff +Version: 0.3 +Release: 5%{?dist} +Summary: Lightweight way of building RPMs, and sabotaging them +License: GPLv2 +Group: Development/Tools +URL: https://fedorahosted.org/rpmfluff/ +Source0: https://fedorahosted.org/releases/r/p/rpmfluff/rpmfluff-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: python +BuildRequires: python-devel +BuildRequires: python-setuptools-devel +#BuildRequires: python-setuptools # For Fedora < 8 +Requires: python + + +%description +rpmfluff provides a python library for building RPM packages, and +sabotaging them so they are broken in controlled ways. + +It is intended for use when validating package analysis tools such as RPM lint. +It can also be used to construct test cases for package management software +such as rpm and yum. + + +%prep +%setup -q -n rpmfluff-%{version} + + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README +%doc LICENSE +%{python_sitelib}/rpmfluff.py* +%{python_sitelib}/rpmfluff*.egg-info + + +%changelog +* Fri Feb 12 2010 Jan Hutar - 0.3-5 +- Now version is in the separate file + +* Thu Jan 26 2010 Jan Hutar - 0.3-4 +- Fix for deprecated popen2 module + +* Thu Jan 7 2010 Jan Hutar - 0.3-3 +- Moved to use EGGs for distribution + +* Mon Dec 21 2009 Jan Hutar - 0.3-2 +- Added separate LICENSE file + +* Fri Dec 18 2009 Jan Hutar - 0.3-1 +- New version, first attempt to get to Fedora + +* Tue Jul 08 2008 Jan Hutar - 0.1-1 +- Initial version +- spec-file based on python-html2text.spec diff --git a/sources b/sources index e69de29..69855a7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +296472d772ee0cc04e9d9afd35880fd1 rpmfluff-0.3.tar.bz2