Commit Graph

350 Commits

Author SHA1 Message Date
Todd Zullinger
dcd0ebc78e Add rpmlint config file
Filter several expected warnings and error messages from rpmlint.
2018-08-26 04:24:21 -04:00
Todd Zullinger
cfed6841db Move znc-buildmod.1 to znc-devel
The znc-buildmod command is in znc-devel.  The man-page belongs there as
well.
2018-08-26 04:24:21 -04:00
Todd Zullinger
c3743a066e Add ChangeLog.md and NOTICE files to %doc
The ChangeLog file was added in 1.6.0 and contains useful information
for users.

The AUTHORS file was removed from %doc in znc-1.7.0-1, because the file
was no longer present in the upstream tarball.  Prior to that, the
AUTHORS file was a symlink to the (unpackaged) NOTICES file from
znc-1.2-0.1.alpha1 through znc-1.6.6.
2018-08-26 04:24:21 -04:00
Todd Zullinger
f0d7b66afa Use %license tag for LICENSE file 2018-08-26 04:24:21 -04:00
Todd Zullinger
9048b9f36a Use system-wide crypto policy
Upstream uses reasonable defaults and keeps them updated.  However,
Fedora packages should use the system-wide crypto policy.

Reference: https://fedoraproject.org/wiki/Packaging:CryptoPolicies
2018-08-26 04:24:21 -04:00
Todd Zullinger
878da480e8 Drop obsolete Group tag
The packaging guidelines specify that this tag should not be used.
2018-08-26 04:24:21 -04:00
Todd Zullinger
d97d3c4cd4 Capitalize 'Perl' and 'Python' in Summary
This is minor, but rpmlint complains about the summaries for the perl
and python modules otherwise.

Use "%{summary}." for the %description of the mod(perl|python|tcl)
packages.
2018-08-26 04:24:21 -04:00
Todd Zullinger
ef6ca56209 Pass --with-tcl to ensure tclConfig.sh is found
On x86_64 the default search path configure uses for tclConfig.sh
does not include /usr/lib64.  The tcl module builds with default
settings, but we can do better by explicitly setting --with-tcl.  This
ensures that TCL_FLAGS is set by tclConfig.sh rather than guessed.
2018-08-26 04:24:21 -04:00
Todd Zullinger
48fada5db5 Enable verbose make
A quiet make might be easier to read but it's useless for debugging
build issues and verifying that the proper compilation options are used.
2018-08-26 04:24:21 -04:00
Todd Zullinger
d939722801 Simplify %{_libdir}/znc/ file list
Manually maintaining the module list is tedious and error-prone.
Include all files under %{_libdir}/znc by default.  Use %exclude to
filter out the modperl, modpython, and modtcl files.
2018-08-26 04:24:21 -04:00
Todd Zullinger
7e502cc8e6 Check upstream GPG signature in %prep
Upstream provides signatures for the source tarballs.  Automatically
verify them in %prep.  This is one less manual step for maintainers.

The upstream tarballs are signed by Alexey Sokolov, AKA DarthGandalf.
The key was initially taken from Alexey's profile page at
savannah.gnu.org¹.  The key was then refreshed from the public
keyservers to pick up changes to the expiration date.  Lastly, it was
exported via the following command:

    gpg2 --armor --export-options export-minimal --export \
        D5823CACB477191CAC0075555AE420CC0209989E > gpgkey-5AE420CC0209989E.asc

¹ https://savannah.gnu.org/users/darthgandalf
2018-08-26 04:22:23 -04:00
Todd Zullinger
b4e64ed274 Use https for URL and SOURCE tags
While upstream redirects to https these days, avoid sending users to the
non-secure site.  As %url is used for Source0 it's preferable to
download source tarballs via a secure channel.
2018-08-26 04:18:44 -04:00
Todd Zullinger
2e6612f513 Use %autosetup, %make_build, and %make_install macros
Using %autosetup removes the need to manually define %patchN macros.

Using %make_build and %make_install handles %{?_smp_mflags} and DESTDIR.

Also remove cruft related to the znc systemd service file install, left
after a53b3b8 ("cleanup conditionals, use upstream unit file",
2016-10-07).
2018-08-26 04:18:17 -04:00
Todd Zullinger
21befc622d 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.
2018-08-26 04:16:24 -04:00
Todd Zullinger
a61baffdc8 Clean up ancient Fedora and RHEL conditionals
RHEL-5 reached EOL in March of 2017.  Fedora-24 is similarly EOL.
2018-08-24 20:07:44 -04:00
Todd Zullinger
434c418ed5 Simplify and improve git ignore rules
Using a pattern to match the source tar.gz files prevents fedpkg upload
from needlessly appending each new source file to .gitignore.

Also ignore *.rpm, the results dir from mockbuild, and expanded source
directories.
2018-08-24 20:04:30 -04:00
Nick Bebout
5e81aa65ec Add gcc-c++ and redhat-rpm-config to dependencies of znc-devel 2018-07-23 11:06:25 -05:00
Nick Bebout
c9332deeed Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/znc 2018-07-23 11:05:41 -05:00
Nick Bebout
16c5bdf70b Add gcc-c++ and redhat-rpm-config to dependencies 2018-07-23 11:05:26 -05:00
Nick Bebout
18f3e665cd Add admindebug.so to files 2018-07-17 19:05:14 -05:00
Nick Bebout
2b698f2c1f Update to 1.7.1 2018-07-17 18:51:09 -05:00
Fedora Release Engineering
ec1af11616 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:52:27 +00:00
Pete Walter
6ce4d60bbb Add missing BuildRequires: gcc-c++ 2018-07-10 23:46:45 +01:00
Pete Walter
04dd6d84b9 Rebuild for ICU 62 2018-07-10 22:06:13 +01:00
Petr Písař
5ac3db7ead Perl 5.28 rebuild 2018-07-03 12:35:56 +02:00
Jitka Plesnikova
35493f64d0 Perl 5.28 rebuild 2018-06-28 03:33:43 +02:00
Miro Hrončok
853357be18 Rebuilt for Python 3.7 2018-06-19 11:31:02 +02:00
Nick Bebout
84d2780a32 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/znc 2018-05-18 14:36:11 -05:00
Nick Bebout
c4ebcd526b Fix %files to not use wildcard 2018-05-18 14:35:05 -05:00
Nick Bebout
ab1e6679f6 Revert "Update to 1.7.0"
This reverts commit dcd546a2a9.
2018-05-18 13:35:47 -05:00
Pete Walter
2c25631517 Rebuild for ICU 61.1 2018-05-15 14:24:52 +01:00
Nick Bebout
dcd546a2a9 Update to 1.7.0 2018-05-02 14:46:29 -05:00
Pete Walter
9356bcd845 Rebuild for ICU 61.1 2018-04-30 08:32:48 +01:00
Nick Bebout
ac0cebd747 Update to 1.6.6 2018-03-05 08:15:29 -06:00
Fedora Release Engineering
b0b57dcc97 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 22:31:03 +00:00
Igor Gnatenko
091b6c7bb1
Fix systemd executions/requirements
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-25 15:59:04 +01:00
Björn Esser
2a7e59df0e
Rebuilt for switch to libxcrypt 2018-01-20 23:08:48 +01:00
Pete Walter
9560e1eaf8 Rebuild for ICU 60.1 2017-11-30 20:57:24 +00:00
Fedora Release Engineering
b246f770e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 11:13:07 +00:00
Fedora Release Engineering
88c004476e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:45:18 +00:00
Petr Písař
752dd46c35 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-13 09:59:50 +02:00
Petr Písař
83fe02ad82 Fix creating /var/lib/znc directory 2017-06-12 17:15:26 +02:00
Jitka Plesnikova
127290d150 Perl 5.26 rebuild 2017-06-04 09:56:40 +02:00
Fedora Release Engineering
e70bc574ea - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 19:51:32 +00:00
Nick Bebout
07b978f9e6 Apply patch from tibbs to change how /var/lib/znc is created 2017-03-14 10:33:27 -05:00
Nick Bebout
f0a00b68e0 Apply patch from tibbs to change how /var/lib/znc is created 2017-03-14 10:30:42 -05:00
Nick Bebout
0f2ad4414f Update to 1.6.5 2017-03-14 10:06:47 -05:00
Fedora Release Engineering
f25e46c55b - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:26:24 +00:00
Miro Hrončok
c5007ded61 Rebuild for Python 3.6 2016-12-19 18:20:38 +01:00
Nick Bebout
b260c20ce0 Update to 1.6.4 2016-12-16 13:15:10 -06:00