From 21befc622d2616ef621b3fa4b807370ba89e3701 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Tue, 17 Jan 2017 01:57:21 -0500 Subject: [PATCH] Remove cruft from %prep The znc.cpp file was moved in znc-1.0 and the pattern used in the perl replacement changed. No one seems to have missed the addition of the %%{release} macro which was intended. Drop the command and avoid an rpm build warning. Similarly, the q.cpp file mode no longer needs to be fixed. --- znc.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/znc.spec b/znc.spec index 3cf6dd3..55426c0 100644 --- a/znc.spec +++ b/znc.spec @@ -112,8 +112,6 @@ python3 module for ZNC %prep %setup -q -%__perl -pi.add_release -e 's|(?<="ZNC \%1\.3f)|-%{release}|' znc.cpp -chmod -x modules/q.cpp %build @@ -252,6 +250,7 @@ getent passwd znc >/dev/null || \ %changelog * Fri Aug 24 2018 Todd Zullinger - Clean up ancient Fedora and RHEL conditionals +- Remove cruft from %%prep * Mon Jul 23 2018 Nick Bebout - 1.7.1-2 - Add gcc-c++ and redhat-rpm-config to znc-devel's dependencies