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.
This commit is contained in:
Todd Zullinger 2017-01-17 01:57:21 -05:00
parent a61baffdc8
commit 21befc622d
1 changed files with 1 additions and 2 deletions

View File

@ -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 <tmz@pobox.com>
- Clean up ancient Fedora and RHEL conditionals
- Remove cruft from %%prep
* Mon Jul 23 2018 Nick Bebout <nb@fedoraproject.org> - 1.7.1-2
- Add gcc-c++ and redhat-rpm-config to znc-devel's dependencies