public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pretty-git-prompt] epel10: Bump git2 to 0.9
@ 2026-09-17 7:50 Josh Stone
0 siblings, 0 replies; only message in thread
From: Josh Stone @ 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 : fbed29740032953424c5d9d11b61a52de8a6ecf8
Author : Josh Stone <jistone@redhat.com>
Date : 2019-06-07T11:54:40-07:00
Stats : +34/-30 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-pretty-git-prompt/c/fbed29740032953424c5d9d11b61a52de8a6ecf8?branch=epel10
Log:
Bump git2 to 0.9
---
diff --git a/pretty-git-prompt-0.2.0-fix-metadata.diff b/pretty-git-prompt-0.2.0-fix-metadata.diff
deleted file mode 100644
index 10f2f2e..0000000
--- a/pretty-git-prompt-0.2.0-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- pretty-git-prompt-0.2.0/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ pretty-git-prompt-0.2.0/Cargo.toml 2018-03-12T11:51:22.897029+01:00
-@@ -30,7 +30,7 @@
- default-features = false
-
- [dependencies.git2]
--version = "0.6"
-+version = "0.8"
- features = []
- default-features = false
-
diff --git a/pretty-git-prompt-fix-metadata.diff b/pretty-git-prompt-fix-metadata.diff
new file mode 100644
index 0000000..5806d33
--- /dev/null
+++ b/pretty-git-prompt-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- pretty-git-prompt-0.2.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ pretty-git-prompt-0.2.0/Cargo.toml 2019-06-07T18:51:48.745424+00:00
+@@ -30,7 +30,7 @@
+ default-features = false
+
+ [dependencies.git2]
+-version = "0.6"
++version = "0.9"
+ features = []
+ default-features = false
+
diff --git a/rust-pretty-git-prompt.spec b/rust-pretty-git-prompt.spec
index ca3d583..0234aeb 100644
--- a/rust-pretty-git-prompt.spec
+++ b/rust-pretty-git-prompt.spec
@@ -1,41 +1,48 @@
-# Generated by rust2rpm
+# Generated by rust2rpm-9-1.fc30
%bcond_without check
%global crate pretty-git-prompt
Name: rust-%{crate}
Version: 0.2.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Your current git repository information inside a beautiful shell prompt
+# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/pretty-git-prompt
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+Source: %{crates_source}
# Initial patched metadata
-# * Bump git2 to 0.8, https://github.com/TomasTomecek/pretty-git-prompt/pull/43
-Patch0: pretty-git-prompt-0.2.0-fix-metadata.diff
+# * Bump git2 to 0.9, https://github.com/TomasTomecek/pretty-git-prompt/pull/46
+Patch0: pretty-git-prompt-fix-metadata.diff
# Make it work with new git2, https://github.com/TomasTomecek/pretty-git-prompt/pull/39
Patch1: 0001-deps-update-git2-to-0.7.patch
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
-# [dependencies]
BuildRequires: (crate(clap) >= 2.19.0 with crate(clap) < 3.0.0)
-BuildRequires: (crate(git2) >= 0.8.0 with crate(git2) < 0.9.0)
-BuildRequires: (crate(yaml-rust) >= 0.3.4 with crate(yaml-rust) < 0.4.0)
+BuildRequires: (crate(git2) >= 0.9.0 with crate(git2) < 0.10.0)
+BuildRequires: (crate(yaml-rust/default) >= 0.3.4 with crate(yaml-rust/default) < 0.4.0)
-%description
-%{summary}.
+%global _description \
+Your current git repository information inside a beautiful shell prompt.
+
+%description %{_description}
%package -n %{crate}
Summary: %{summary}
-%description -n %{crate}
-%{summary}.
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md
+%doc files
+%{_bindir}/pretty-git-prompt
%prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@@ -50,13 +57,10 @@ Summary: %{summary}
%cargo_test || :
%endif
-%files -n %{crate}
-%license LICENSE
-%doc README.md
-%doc files
-%{_bindir}/pretty-git-prompt
-
%changelog
+* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.2.0-9
+- Bump git2 to 0.9
+
* Tue Apr 02 2019 Josh Stone <jistone@redhat.com> - 0.2.0-8
- Bump git2 to 0.8
^ 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: Bump git2 to 0.9 Josh Stone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox