public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pretty-git-prompt] epel10: initial import
@ 2026-09-17  7:50 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-09-17  7:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-pretty-git-prompt
            Branch : epel10
            Commit : 1782cb8c6e2ed5099fbfd8bb8e6bfedd0e84e5f2
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-01-28T21:39:56+01:00
            Stats  : +58/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-pretty-git-prompt/c/1782cb8c6e2ed5099fbfd8bb8e6bfedd0e84e5f2?branch=epel10

            Log:
            initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..814c088
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/pretty-git-prompt-0.2.0.crate

diff --git a/rust-pretty-git-prompt.spec b/rust-pretty-git-prompt.spec
new file mode 100644
index 0000000..e6870f1
--- /dev/null
+++ b/rust-pretty-git-prompt.spec
@@ -0,0 +1,56 @@
+# Generated by rust2rpm
+%bcond_without check
+
+%global crate pretty-git-prompt
+
+Name:           rust-%{crate}
+Version:        0.2.0
+Release:        1%{?dist}
+Summary:        Your current git repository information inside a beautiful shell prompt
+
+License:        MIT
+URL:            https://crates.io/crates/pretty-git-prompt
+Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+
+ExclusiveArch:  %{rust_arches}
+
+BuildRequires:  rust-packaging
+# [dependencies]
+BuildRequires:  (crate(clap) >= 2.19.0 with crate(clap) < 3.0.0)
+BuildRequires:  (crate(git2) >= 0.6.0 with crate(git2) < 0.7.0)
+BuildRequires:  (crate(yaml-rust) >= 0.3.4 with crate(yaml-rust) < 0.4.0)
+
+%description
+%{summary}.
+
+%package     -n %{crate}
+Summary:        %{summary}
+
+%description -n %{crate}
+%{summary}.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+# https://github.com/tomastomecek/pretty-git-prompt/issues/35
+%cargo_test || :
+%endif
+
+%files       -n %{crate}
+%license LICENSE
+%doc README.md
+%doc files
+%{_bindir}/pretty-git-prompt
+
+%changelog
+* Sun Jan 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..ada5b5f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pretty-git-prompt-0.2.0.crate) = 210c07407440e1efe33e54b5134e6b07e9d54d2dfbc72fba56d52506195e2979728d4bacea697c3796deff8a4482f0eba5c8ee738af3a42810647ebef310c805

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17  7:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17  7:50 [rpms/rust-pretty-git-prompt] epel10: initial import Igor Gnatenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox