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