public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Josh Stone <jistone@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-pretty-git-prompt] epel10: Bump git2 to 0.9
Date: Thu, 17 Sep 2026 07:50:16 GMT	[thread overview]
Message-ID: <178963141659.1.15283488296614750960.rpms-rust-pretty-git-prompt-fbed29740032@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-09-17  7:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178963141659.1.15283488296614750960.rpms-rust-pretty-git-prompt-fbed29740032@fedoraproject.org \
    --to=jistone@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox