]> git.pld-linux.org Git - packages/python-fedmsg-meta-pld.git/blame - python-fedmsg-meta-pld.spec
- release 2 (by relup.sh)
[packages/python-fedmsg-meta-pld.git] / python-fedmsg-meta-pld.spec
CommitLineData
cf37c899
ER
1#
2# Conditional build:
3%bcond_with tests # do not perform "make test"
4
5%define module fedmsg_meta_pld
6Summary: Metadata providers for PLD Linux fedmsg deployment
7Name: python-fedmsg-meta-pld
8Version: 0.0.1
d4d98325 9Release: 2
cf37c899
ER
10License: LGPL v2+
11Group: Libraries/Python
460c7938
ER
12Source0: https://github.com/glensc/fedmsg_meta_pld/archive/v%{version}/%{module}-%{version}.tar.gz
13# Source0-md5: cff6b4aaf192d718632ebd6a2b24bcfc
cf37c899
ER
14URL: https://github.com/glensc/fedmsg_meta_pld
15BuildRequires: fedmsg >= 0.10.0
16BuildRequires: rpm-pythonprov
17BuildRequires: rpmbuild(macros) >= 1.219
18Requires: fedmsg >= 0.7.7
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Metadata providers for PLD Linux fedmsg deployment.
24
25%prep
26%setup -qc
27mv fedmsg_meta_pld-*/* .
28
29%build
30%py_build
31
32%if %{with tests}
33PYTHONPATH=. FEDMSG_META_NO_NETWORK=True nosetests
34%endif
35
36%install
37rm -rf $RPM_BUILD_ROOT
38%py_install
39%py_postclean
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
460c7938 46%doc README.md CHANGELOG.md
cf37c899
ER
47%{py_sitescriptdir}/fedmsg_meta_pld
48%{py_sitescriptdir}/fedmsg_meta_pld-%{version}-py*.egg-info
This page took 0.042614 seconds and 4 git commands to generate.