Compare commits

...

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

@ -3,9 +3,9 @@
Name: perl-Unix-Syslog Name: perl-Unix-Syslog
Version: 1.1 Version: 1.1
Release: 41%{?dist} Release: 53%{?dist}
Summary: Perl interface to the UNIX syslog(3) calls Summary: Perl interface to the UNIX syslog(3) calls
License: Artistic 2.0 License: Artistic-2.0
URL: https://metacpan.org/release/Unix-Syslog URL: https://metacpan.org/release/Unix-Syslog
Source0: https://cpan.metacpan.org/modules/by-module/Unix/Unix-Syslog-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Unix/Unix-Syslog-%{version}.tar.gz
# Module Build # Module Build
@ -16,6 +16,7 @@ BuildRequires: make
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module Runtime # Module Runtime
BuildRequires: perl(DynaLoader) BuildRequires: perl(DynaLoader)
@ -27,7 +28,6 @@ BuildRequires: perl(vars)
BuildRequires: syslog BuildRequires: syslog
%endif %endif
# Dependencies # Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: syslog Requires: syslog
# Don't "provide" private Perl libs # Don't "provide" private Perl libs
@ -39,8 +39,20 @@ Perl's XSUBs. The implementation attempts to resemble the native
libc-functions of your system, so that anyone being familiar with libc-functions of your system, so that anyone being familiar with
syslog.h should be able to use this module right away. syslog.h should be able to use this module right away.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n Unix-Syslog-%{version} %setup -q -n Unix-Syslog-%{version}
# Help generators to recognize Perl scripts
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "test.pl"
chmod +x "test.pl"
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
@ -50,6 +62,14 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{opt
%{make_install} %{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a test.pl %{buildroot}%{_libexecdir}/%{name}
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
T2_HARNESS_JOB_COUNT="$(getconf _NPROCESSORS_ONLN)" %{_libexecdir}/%{name}/test.pl
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
%if %{with test} %if %{with test}
@ -57,23 +77,62 @@ make test
%endif %endif
%files %files
%if 0%{?_licensedir:1}
%license Artistic %license Artistic
%else
%doc Artistic
%endif
%doc README Changes %doc README Changes
%{perl_vendorarch}/Unix/ %{perl_vendorarch}/Unix/
%{perl_vendorarch}/auto/Unix/ %{perl_vendorarch}/auto/Unix/
%{_mandir}/man3/Unix::Syslog.3* %{_mandir}/man3/Unix::Syslog.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-41 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.1-53
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.1-52
- Rebuilt for MSVSphere 10
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1.1-52
- Bump release for Aug 2024 java mass rebuild
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.1-51
- Package tests
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.1-50
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-46
- Perl 5.38 rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-43
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-41
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-40 * Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-40
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-39 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save