3 %bcond_with tests # do not perform "make test"
5 %define module fedmsg_meta_pld
6 Summary: Metadata providers for PLD Linux fedmsg deployment
7 Name: python-fedmsg-meta-pld
11 Group: Libraries/Python
12 Source0: https://github.com/glensc/fedmsg_meta_pld/archive/v%{version}/%{module}-%{version}.tar.gz
13 # Source0-md5: cff6b4aaf192d718632ebd6a2b24bcfc
14 URL: https://github.com/glensc/fedmsg_meta_pld
15 BuildRequires: fedmsg >= 0.10.0
16 BuildRequires: rpm-pythonprov
17 BuildRequires: rpmbuild(macros) >= 1.219
18 Requires: fedmsg >= 0.7.7
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Metadata providers for PLD Linux fedmsg deployment.
27 mv fedmsg_meta_pld-*/* .
33 PYTHONPATH=. FEDMSG_META_NO_NETWORK=True nosetests
37 rm -rf $RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc README.md CHANGELOG.md
47 %{py_sitescriptdir}/fedmsg_meta_pld
48 %{py_sitescriptdir}/fedmsg_meta_pld-%{version}-py*.egg-info