Blame ioc-writer.spec

137276
%global pypi_name ioc_writer
137276
137276
Name:           ioc-writer
137276
Version:        0.3.3
137276
Release:        2%{?dist}
137276
Summary:        A tool to create and edit OpenIOC objects
137276
137276
License:        ASL 2.0
137276
URL:            https://github.com/mandiant/ioc_writer
137276
Source0:        https://github.com/mandiant/ioc_writer/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
137276
137276
BuildArch:      noarch
137276
137276
BuildRequires:  python3-devel
137276
BuildRequires:  python3-lxml
137276
137276
%description
137276
A tool that allows for basic creation and editing of OpenIOC objects. It
137276
supports a basic CRUD (create, read, update, delete) for various items.
137276
137276
%prep
137276
%autosetup -n %{pypi_name}-%{version}
137276
137276
%build
137276
%py3_build
137276
137276
%install
137276
%py3_install
137276
137276
%check
137276
%{__python3} setup.py test
137276
137276
%files
137276
%doc README.md
137276
%license LICENSE
137276
%{_bindir}/iocdump
137276
%{_bindir}/openioc*
137276
%{python3_sitelib}/*.egg-info
137276
%{python3_sitelib}/%{pypi_name}/
137276
137276
%changelog
137276
* Wed Jun 19 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.3-2
137276
- Change source location (rhbz#1720861)
137276
137276
* Sat Jun 15 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.3-1
137276
- Initial package for Fedora