Commit Graph

365 Commits

Author SHA1 Message Date
Fedora Release Engineering 19e5b49261 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 05:03:54 +00:00
Nick Bebout af91d38583 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/znc 2019-07-05 16:26:48 -05:00
Nick Bebout 623fd0a1ad Update to 1.7.4 to fix CVE-2019-12816 2019-07-05 16:26:03 -05:00
Jitka Plesnikova c5aa0f5e28 Perl 5.30 rebuild 2019-05-30 13:34:27 +02:00
Nick Bebout 8a55901c02 Fix build 2019-04-09 08:31:28 -05:00
Nick Bebout 95f8a308e7 Update to 1.7.3 2019-04-09 08:25:30 -05:00
Nick Bebout 75ee78d08d Update to 1.7.3 2019-03-27 08:47:23 -05:00
Nick Bebout 74fc3f07da Update to 1.7.3-rc1 to fix CVE-2019-9917 2019-03-27 08:37:04 -05:00
Fedora Release Engineering 7c6b28aaa9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 13:14:01 +00:00
Jason Tibbitts 0b633c2df2 Update to 1.7.2.
Also add a quick sed call to fix three references to /usr/local/ in the
manpage.
2019-01-29 15:32:05 -06:00
Pete Walter 8d389a3cca Rebuild for ICU 63 2019-01-23 21:49:03 +00:00
Björn Esser 46164dba2d
Add missing source file (GPG signature) 2019-01-04 00:16:26 +01:00
Nick Bebout 11e6e873f5 Merge #1 `RFC - misc packaging cleanups and improvements` 2018-11-16 17:00:20 +00:00
Miro Hrončok 4b3ade3e9a https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 2018-11-15 12:53:57 +01:00
Todd Zullinger 7eb901b93c Bump release 2018-08-26 21:11:12 -04:00
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