From 54688b25431282b63c57f52cc30438f306c5f6648152cbad75a99492300a9195 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 26 Feb 2024 16:25:31 +0000 Subject: [PATCH] Accepting request 1151844 from home:pgajdos:t - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1151844 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/tvheadend?expand=0&rev=43 --- tvheadend.changes | 6 ++++++ tvheadend.spec | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tvheadend.changes b/tvheadend.changes index b8f26d2..3d7f75d 100644 --- a/tvheadend.changes +++ b/tvheadend.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 16:19:08 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Thu Nov 25 15:22:11 UTC 2021 - Johannes Segitz diff --git a/tvheadend.spec b/tvheadend.spec index 0a33a11..8b13cd1 100644 --- a/tvheadend.spec +++ b/tvheadend.spec @@ -67,10 +67,7 @@ day-to-day operations, such as searching the electronic program guide (EPG) and for scheduling recordings. %prep -%setup -q -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 +%autosetup -p1 sed -e "s/-u \([^ ]*\) -g \([^ ]*\)/-u %{htsuser} -g %{htsgroup}/" -i rpm/%{name}.sysconfig sed -e '/^TVH_ARGS/cTVH_ARGS="-C"' -i debian/%{name}.default