Compare commits

...
Sign in to create a new pull request.

11 commits

Author SHA1 Message Date
Nick Bebout
930afb93a7 Use 1 CPU for x86_64 2025-10-13 19:10:09 -05:00
Ben Maconi
b0243b3ddf Updated to version 1.10.1 2025-10-13 18:37:46 -05:00
Python Maint
6523153084 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:04:39 +02:00
Python Maint
c662e6cce0 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:23:55 +02:00
František Zatloukal
da4da1f913 Rebuilt for icu 77.1 2025-08-06 09:58:56 +02:00
Fedora Release Engineering
3764385830 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:20:05 +00:00
Jitka Plesnikova
967dc69a06 Perl 5.42 rebuild 2025-07-07 16:38:08 +02:00
Python Maint
b6fef453ad Rebuilt for Python 3.14 2025-06-02 20:54:40 +02:00
Zbigniew Jędrzejewski-Szmek
9c3026d04d Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-11 17:03:14 +01:00
Fedora Release Engineering
eb1f6fc672 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:50:35 +00:00
Pete Walter
95993e313f Rebuild for ICU 76 2024-12-08 23:04:59 +00:00
2 changed files with 46 additions and 10 deletions

View file

@ -1,2 +1,2 @@
SHA512 (znc-1.9.1.tar.gz) = 939eafbb2f20569d1b15b66e38b7da7a5210f2023e6fc98018566bd757d62d8ef2682d4b4e3b326a933a99cd7d9d65596ff0e2c43a2315c70e27c64f02d526a6
SHA512 (znc-1.9.1.tar.gz.sig) = f9c0134ed8248828871d5ff8d0fc72a7b94426871ad75957aa675274a9da1a8957fae09603cee03729b33d42e14fcbf5f1952867fa38fef4e2860d62944af488
SHA512 (znc-1.10.1.tar.gz) = f125eef5a9f8bfcd278951971638fe8a937261001bfd8f6438fc51fda666b97c00780c5c6f1a921b3db79cb7656bc9675eb3881b18b22b7738e0976ebcca7cb3
SHA512 (znc-1.10.1.tar.gz.sig) = a85b65dacce72d51cda4260ff881496c82b77dabf273fda1c3f536360950755700b352a6d22bac01c808abae13c4b686a2e5f36b0351e0b77ec032057caee311

View file

@ -12,8 +12,8 @@
%endif # 0%{?fedora} || 0%{?rhel} >= 7
Name: znc
Version: 1.9.1
Release: 4%{?dist}
Version: 1.10.1
Release: 1%{?dist}
Summary: An advanced IRC bouncer
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
@ -52,7 +52,6 @@ BuildRequires: perl(ExtUtils::Embed)
Obsoletes: znc-extra <= %{version}-%{release}
%endif # 0%{?rhel} && 0%{?rhel} <= 9
Requires(pre): shadow-utils
BuildRequires: systemd
%{?systemd_requires}
@ -129,6 +128,11 @@ rm -rf "$gpghome" $key.gpg # Cleanup tmp gpg home dir and dearmored key
# The manual page references /usr/local/; fix that
sed -ie 's!/usr/local/!/usr/!' man/znc.1
# Create a sysusers.d config file
cat >znc.sysusers.conf <<EOF
u znc - 'Account for ZNC to run as' /var/lib/znc -
EOF
%build
%if 0%{?rhel} == 7
sed -e 's/"openssl"/"openssl11"/g' -i configure
@ -139,6 +143,10 @@ sed -e 's/"openssl"/"openssl11"/g' -i configure
%global _smp_build_ncpus 1
%endif
%ifarch x86_64
%global _smp_build_ncpus 1
%endif
%cmake \
%if 0%{?with_modperl}
-DWANT_PERL=1 \
@ -159,12 +167,9 @@ sed -e 's/"openssl"/"openssl11"/g' -i configure
install -d "%{buildroot}%{_sharedstatedir}/znc"
%py_byte_compile %{__python3} %{buildroot}%{_libdir}/znc/
install -m0644 -D znc.sysusers.conf %{buildroot}%{_sysusersdir}/znc.conf
%pre
getent group znc >/dev/null || groupadd -r znc
getent passwd znc >/dev/null || \
useradd -r -g znc -d /var/lib/znc -s /sbin/nologin \
-c "Account for ZNC to run as" znc
%post
@ -201,6 +206,7 @@ getent passwd znc >/dev/null || \
%exclude %{_datadir}/znc/modtcl/
%{_unitdir}/znc.service
%attr(-,znc,znc) %{_sharedstatedir}/znc/
%{_sysusersdir}/znc.conf
%files devel
%{_bindir}/znc-buildmod
@ -229,6 +235,36 @@ getent passwd znc >/dev/null || \
%changelog
* Mon Oct 13 2025 Ben Maconi <turboben@fedoraproject.org> - 1.10.1-1
- Updated to 1.10.1
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.9.1-13
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.9.1-12
- Rebuilt for Python 3.14.0rc2 bytecode
* Wed Aug 06 2025 František Zatloukal <fzatlouk@redhat.com> - 1.9.1-11
- Rebuilt for icu 77.1
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jul 07 2025 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.1-9
- Perl 5.42 rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 1.9.1-8
- Rebuilt for Python 3.14
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.1-7
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Dec 08 2024 Pete Walter <pwalter@fedoraproject.org> - 1.9.1-5
- Rebuild for ICU 76
* Sun Aug 25 2024 Neil Hanlon <neil@shrug.pw> - 1.9.1-4
- switch to pure cmake (1.9.0 turned configure into a wrapper which dropped options)
- resolve ftbfs, fti, new version (#226393 #2301380 #2292226)