]>
Commit | Line | Data |
---|---|---|
ceca9306 JP |
1 | Summary: Python CLI tool and library for diffing CSV files |
2 | Name: csv-diff | |
006710e5 | 3 | Version: 1.1 |
8fd985fb | 4 | Release: 5 |
ceca9306 JP |
5 | License: Apache v2.0 |
6 | Group: Applications | |
7 | #Source0Download: https://pypi.org/simple/csv-diff/ | |
8 | Source0: https://files.pythonhosted.org/packages/source/c/csv-diff/%{name}-%{version}.tar.gz | |
006710e5 | 9 | # Source0-md5: 2c9cf505b45db4cb3c586c84cfef6f2e |
ceca9306 JP |
10 | URL: https://github.com/simonw/csv-diff |
11 | BuildRequires: python3-modules >= 1:3.6 | |
334a6b77 | 12 | BuildRequires: python3-pytest-runner |
ceca9306 JP |
13 | BuildRequires: python3-setuptools |
14 | BuildRequires: rpm-pythonprov | |
15 | BuildRequires: rpmbuild(macros) >= 1.714 | |
16 | Requires: python3-modules >= 1:3.6 | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Tool for viewing the difference between two CSV files. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %py3_build | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | %py3_install | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc README.md | |
40 | %attr(755,root,root) %{_bindir}/csv-diff | |
41 | %{py3_sitescriptdir}/csv_diff | |
42 | %{py3_sitescriptdir}/csv_diff-%{version}-py*.egg-info |