public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/nautilus-python] rawhide: Switch to gnome-srpm-macros macros
Date: Thu, 02 Jul 2026 16:32:30 GMT	[thread overview]
Message-ID: <178300995064.1.3882677680691292278.rpms-nautilus-python-46e59062a1a7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/nautilus-python
            Branch : rawhide
            Commit : 46e59062a1a789b784ea59464e1f5c3a1cc80c33
            Author : Milan Crha <mcrha@redhat.com>
            Date   : 2026-07-02T18:31:03+02:00
            Stats  : +7/-14 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/nautilus-python/c/46e59062a1a789b784ea59464e1f5c3a1cc80c33?branch=rawhide

            Log:
            Switch to gnome-srpm-macros macros

[skip changelog]

---
diff --git a/.gitignore b/.gitignore
index 8d2f962..8d14693 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,3 @@
-nautilus-python-0.7.0.tar.bz2
-/nautilus-python-1.0.tar.bz2
-/nautilus-python-1.1.tar.bz2
-/nautilus-python-1.2.1.tar.xz
-/nautilus-python-1.2.2.tar.xz
-/nautilus-python-1.2.3.tar.xz
-/nautilus-python-4.0.alpha.tar.xz
-/nautilus-python-4.0.tar.xz
-/nautilus-python-4.0.1.tar.xz
-/nautilus-python-4.1.0.tar.xz
+/nautilus-python-*.tar.bz2
+/nautilus-python-*.tar.xz
+/nautilus-python-*-build

diff --git a/nautilus-python.spec b/nautilus-python.spec
index 362f206..b6b2ffd 100644
--- a/nautilus-python.spec
+++ b/nautilus-python.spec
@@ -1,7 +1,5 @@
 %global nautilus_version 43~beta
 
-%global tarball_version %%(echo %{version} | tr '~' '.')
-
 Name:           nautilus-python
 Version:        4.1.0
 Release:        %autorelease
@@ -9,7 +7,9 @@ Summary:        Python bindings for Nautilus
 
 License:        GPL-2.0-or-later
 URL:            https://wiki.gnome.org/Projects/NautilusPython
-Source0:        https://download.gnome.org/sources/%{name}/4.1/%{name}-%{tarball_version}.tar.xz
+Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{gnome_tarball_version}.tar.xz
+
+%gnome_check_version
 
 BuildRequires:  gcc
 BuildRequires:  gtk-doc
@@ -34,7 +34,7 @@ Python bindings for Nautilus
 
 
 %prep
-%autosetup -p1 -n %{name}-%{tarball_version}
+%autosetup -p1 -n %{name}-%{gnome_tarball_version}
 
 
 %build

                 reply	other threads:[~2026-07-02 16:32 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=178300995064.1.3882677680691292278.rpms-nautilus-python-46e59062a1a7@fedoraproject.org \
    --to=mcrha@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