|
|
55e88ff |
# This package depends on automagic byte compilation
|
|
|
55e88ff |
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
|
|
|
55e88ff |
%global _python_bytecompile_extra 1
|
|
|
55e88ff |
|
|
|
9f2fc86 |
Name: qtools
|
|
|
02ef86a |
Version: 0.4.0
|
|
|
bd288de |
Release: 1%{?dist}
|
|
|
9f2fc86 |
Summary: Command-line tools for AMQP
|
|
|
9f2fc86 |
License: ASL 2.0
|
|
|
9f2fc86 |
URL: https://github.com/ssorj/qtools/releases/tag/%{version}
|
|
|
0ff8ea1 |
Source: qtools-%{version}.tar.gz
|
|
|
9f2fc86 |
BuildArch: noarch
|
|
|
ed6f31a |
Requires: python2
|
|
|
ed6f31a |
Requires: python2-qpid-proton
|
|
|
9f2fc86 |
BuildRequires: make
|
|
|
9d1bdb1 |
BuildRequires: findutils
|
|
|
9d1bdb1 |
BuildRequires: python3
|
|
|
ed6f31a |
BuildRequires: python2
|
|
|
ed6f31a |
BuildRequires: python2-qpid-proton
|
|
|
9f2fc86 |
|
|
|
9f2fc86 |
%description
|
|
|
9f2fc86 |
Simple command-line tools for sending and receiving AMQP messages
|
|
|
9f2fc86 |
|
|
|
9f2fc86 |
%prep
|
|
|
9f2fc86 |
%setup -qn %{name}-%{version}
|
|
|
9f2fc86 |
|
|
|
9f2fc86 |
%build
|
|
|
9d1bdb1 |
sed -i 's/!\/usr\/bin\/env python/!\/usr\/bin\/env python3/' scripts/configure-file
|
|
|
9d1bdb1 |
sed -i 's/!\/usr\/bin\/env python/!\/usr\/bin\/env python3/' scripts/install-files
|
|
|
9f2fc86 |
make build PREFIX=/usr %{?_smp_mflags}
|
|
|
9f2fc86 |
|
|
|
9f2fc86 |
%install
|
|
|
9f2fc86 |
make install DESTDIR=%{buildroot} PREFIX=/usr %{?_smp_mflags}
|
|
|
9f2fc86 |
|
|
|
9f2fc86 |
%files
|
|
|
9f2fc86 |
%license LICENSE.txt
|
|
|
9f2fc86 |
%doc README.md
|
|
|
9f2fc86 |
%{_datarootdir}/qtools
|
|
|
9f2fc86 |
%{_bindir}/*
|
|
|
9f2fc86 |
|
|
|
9f2fc86 |
%changelog
|
|
|
02ef86a |
* Tue Jan 8 2019 Irina Boverman <iboverma@redhat.com> - 0.4.0-1
|
|
|
02ef86a |
- Rebased to 0.4.0
|
|
|
02ef86a |
|
|
|
c5f8817 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
|
c5f8817 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c5f8817 |
|
|
|
ed6f31a |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.0-3
|
|
|
ed6f31a |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
ed6f31a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
ed6f31a |
|
|
|
13904e9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
13904e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
13904e9 |
|
|
|
9f2fc86 |
* Wed Nov 29 2017 Irina Boverman <iboverma@redhat.com> - 0.3.0-1
|
|
|
9f2fc86 |
- Initial build
|