public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-rtslib] rawhide: Switch to %autosetup
Date: Wed, 24 Jun 2026 15:16:37 GMT	[thread overview]
Message-ID: <178231419770.1.9149465898837581298.rpms-python-rtslib-44a1abbcd116@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-rtslib
            Branch : rawhide
            Commit : 44a1abbcd1167665754269785506a8edebef0bfa
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-06-24T17:13:04+02:00
            Stats  : +1/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-rtslib/c/44a1abbcd1167665754269785506a8edebef0bfa?branch=rawhide

            Log:
            Switch to %autosetup

To avoid:

    LANG=C.utf-8 rpm --specfile python-rtslib.spec
    error: python-rtslib.spec: line 69: No patch number 1
    error: query of specfile python-rtslib.spec failed, can't parse

---
diff --git a/python-rtslib.spec b/python-rtslib.spec
index b430062..a5b3988 100644
--- a/python-rtslib.spec
+++ b/python-rtslib.spec
@@ -64,9 +64,7 @@ on system restart.
 
 
 %prep
-%setup -q -n %{oname}-%{version}
-%patch -P0 -p1
-%patch -P1 -p1
+%autosetup -p1 -n %{oname}-%{version}
 
 %generate_buildrequires
 export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}

                 reply	other threads:[~2026-06-24 15:16 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=178231419770.1.9149465898837581298.rpms-python-rtslib-44a1abbcd116@fedoraproject.org \
    --to=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