]> git.pld-linux.org Git - packages/python-bugzilla.git/blame - python-bugzilla.spec
automatic change: use py_build/py_install macros
[packages/python-bugzilla.git] / python-bugzilla.spec
CommitLineData
6fba5855 1Summary: A Bugzilla library for Python
54ef9517 2Summary(pl.UTF-8): Biblioteka Bugzilli dla Pythona
6fba5855 3Name: python-bugzilla
11d4f273 4Version: 0.3
6fba5855
PZ
5Release: 1
6License: MIT
7Group: Libraries/Python
b8c9d0cd 8Source0: https://fedorahosted.org/releases/p/y/python-bugzilla/%{name}-%{version}.tar.gz
11d4f273 9# Source0-md5: c01c9b489220b4fd853a3f6f8df20b01
5e989490 10Patch0: %{name}-pld.patch
b8c9d0cd 11URL: https://fedorahosted.org/python-bugzilla/
6fba5855 12BuildRequires: python-devel >= 1:2.3.0
54ef9517 13BuildRequires: rpm-pythonprov
6fba5855
PZ
14BuildRequires: rpmbuild(macros) >= 1.219
15%pyrequires_eq python-modules
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20A Bugzilla library for Python.
21
54ef9517
JB
22%description -l pl.UTF-8
23Biblioteka Bugzilli dla Pythona.
24
6fba5855
PZ
25%prep
26%setup -q
5e989490 27%patch0 -p1
6fba5855
PZ
28
29%build
a9334239 30%py_build
6fba5855
PZ
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
a9334239 35%py_install
6fba5855
PZ
36
37%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
38%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
39%py_postclean
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%attr(755,root,root) %{_bindir}/bugzilla
47%{py_sitescriptdir}/*
This page took 0.057242 seconds and 4 git commands to generate.