rpms/python-bugzilla/devel python-bugzilla.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Will Woods (wwoods) fedora-extras-commits at redhat.com
Thu Dec 13 21:02:23 UTC 2007


Author: wwoods

Update of /cvs/pkgs/rpms/python-bugzilla/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18599/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-bugzilla.spec 
Log Message:
initial import


--- NEW FILE python-bugzilla.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-bugzilla
Version:        0.2
Release:        4%{?dist}
Summary:        A python library for interacting with Bugzilla

Group:          Development/Languages
License:        GPLv2+
URL:            http://wwoods.fedorapeople.org/python-bugzilla/
Source0:        python-bugzilla-0.2.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif

%description
python-bugzilla is a python library for interacting with bugzilla instances
over XML-RPC. Currently it only supports the Red Hat Bugzilla web services.
This package also includes the 'bugzilla' commandline tool for interacting with
bugzilla.

%prep
%setup -q


%build
# fix rpmlint complaint (this is fixed in git)
sed -i -e 's|^#!/usr/bin/python|# -*- python -*-|' bugzilla.py
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# fix rpmlint complaint
chmod -x selftest.py 

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING README TODO PKG-INFO selftest.py
%{python_sitelib}/*
%{_bindir}/bugzilla


%changelog
* Thu Dec 13 2007 Will Woods <wwoods at redhat.com> 0.2-4
- use _bindir instead of /usr/bin and proper BR for setuptools

* Tue Dec 11 2007 Will Woods <wwoods at redhat.com> 0.2-3
- Fix a couple of things rpmlint complained about

* Tue Dec 11 2007 Will Woods <wwoods at redhat.com> 0.2-2
- Add docs

* Wed Oct 10 2007 Will Woods <wwoods at redhat.com> 0.2-1
- Initial packaging.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-bugzilla/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Dec 2007 19:15:11 -0000	1.1
+++ .cvsignore	13 Dec 2007 21:01:48 -0000	1.2
@@ -0,0 +1 @@
+python-bugzilla-0.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-bugzilla/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Dec 2007 19:15:11 -0000	1.1
+++ sources	13 Dec 2007 21:01:48 -0000	1.2
@@ -0,0 +1 @@
+5253b8ba6bcc819def1184012e0f422a  python-bugzilla-0.2.tar.gz




More information about the fedora-extras-commits mailing list