From 05e83650c7e8cbf64c5f93bd4d958e899a9b0f9d Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: May 21 2020 14:24:52 +0000 Subject: RPM spec --- diff --git a/fedora-minimal-compose.spec b/fedora-minimal-compose.spec new file mode 100644 index 0000000..1ee2e44 --- /dev/null +++ b/fedora-minimal-compose.spec @@ -0,0 +1,43 @@ +Name: fmc +Version: 0.0.0 +Release: 1%{?dist} +Summary: Fedora Minimal COmpose + +License: GPLv2+ +URL: https://pagure.io/%{name} +Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +%if 0%{?rhel} && 0%{?rhel} <= 7 +BuildRequires: python2-setuptools +%else +BuildRequires: python-setuptools +%endif + +BuildRequires: python-devel + +Requires: koji +Requires: python3-fedora-messaging +Requires: python3-ogr +Requires: fedora-messaging +Requires: python3-odcs-client + +%description +Fedoma minimal scompose + +%prep +%autosetup +%build + +%install +mkdir -p %{buildroot}%{_bindir}/%{name}/ +install -m 755 fedora-minimal-compose.py %{buildroot}%{_bindir}/%{name}/ + +%files +%{_bindir}/%{name}* + +%changelog +* Thu May 21 2020 Tomas Hrcka - 0.0.0-1 +- rebuilt +