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:
parent
a61baffdc8
commit
21befc622d
3
znc.spec
3
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 <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
|
||||
|
|
Loading…
Reference in New Issue