From 077f4554c95b13871a89ab0159e8b52a6806258f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Dec 14 2016 19:35:16 +0000 Subject: initial import Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index e69de29..fa9e7a7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/git-archive-all-1.15.tar.gz diff --git a/git-archive-all.spec b/git-archive-all.spec new file mode 100644 index 0000000..a005c95 --- /dev/null +++ b/git-archive-all.spec @@ -0,0 +1,43 @@ +%global modname %(n=%{name}; echo ${n//-/_}) + +Name: git-archive-all +Version: 1.15 +Release: 1%{?dist} +Summary: Archive git repository with its submodules + +License: MIT +URL: https://github.com/Kentzo/git-archive-all +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +# https://github.com/Kentzo/git-archive-all/pull/35 +Patch0001: 0001-drop-shebang-and-executable-permissions.patch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# git-submodule is in git, not in git-core +Requires: git + +BuildArch: noarch + +%description +%{summary}. + +%prep +%autosetup -p1 + +%build +%py3_build + +%install +%py3_install + +%files +%license LICENSE.txt +%doc README.rst +%{_bindir}/%{name} +%{python3_sitelib}/%{modname}-*.egg-info/ +%{python3_sitelib}/%{modname}.py +%{python3_sitelib}/__pycache__/%{modname}.* + +%changelog +* Tue Dec 13 2016 Igor Gnatenko - 1.15-1 +- Initial package diff --git a/sources b/sources index e69de29..f9b3821 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (git-archive-all-1.15.tar.gz) = fa2f617e92cbd04f4108b4f36ae8dbbe5e72036f61b21e134a19741e4c2643476423876771d38ca8afd0a4d65796cb1d5046f446caf68ee9834ff9f836808de9