public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-rtslib] rawhide: Switch to %autosetup
@ 2026-06-24 15:16 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-24 15:16 UTC (permalink / raw)
  To: git-commits

            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}

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

only message in thread, other threads:[~2026-06-24 15:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 15:16 [rpms/python-rtslib] rawhide: Switch to %autosetup 

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