Name: perl-User-Utmp Version: 1.8 Release: 37%{?dist} Summary: Perl access to utmp- and utmpx-style databases License: GPL+ or Artistic URL: https://metacpan.org/release/User-Utmp Source0: https://cpan.metacpan.org/authors/id/M/MP/MPIOTR/User-Utmp-%{version}.tar.gz # Fix strlen identifier clash, CPAN RT #43016 Patch0: User-Utmp-1.8-strlen.patch # Adjust to ExtUtils-MakeMaker-7.48, bug #1886390, CPAN RT#133492 Patch1: User-Utmp-1.8-Make-hints-scripts-strict-conformant.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc # glibc-common for iconv BuildRequires: glibc-common BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: sed # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(DynaLoader) BuildRequires: perl(AutoLoader) # Tests: BuildRequires: perl(POSIX) %{?perl_default_filter} %description UNIX systems record information about current and past log-ins in a user accounting database. This database is realized by two files: File utmpx contains a record of all users currently logged onto the system, while file wtmpx contains a record of all log-ins and log-outs. Some systems (such as HP-UX and AIX) also maintain a third file containing failed log-in attempts. The information in these files is used by commands such as who(1), last(1), write(1), or login(1). %prep %setup -q -n User-Utmp-%{version} %patch0 -p0 %patch1 -p1 chmod -x example.pl sed -i -e '1 s/^#!.*//' -e '1 ause utf8;' example.pl for F in example.pl README; do iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8" touch -r "$F" "${F}.utf8" mv "${F}.utf8" "${F}" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} %install %{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes example.pl README %{perl_vendorarch}/auto/* %{perl_vendorarch}/User* %{_mandir}/man3/* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 1.8-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.8-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.8-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 1.8-34 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.8-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.8-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.8-31 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.8-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.8-29 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.8-28 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.8-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 8 13:23:00 CEST 2020 Petr Pisar - 1.8-26 - Adjust to ExtUtils-MakeMaker-7.48 (bug #1886390) * Tue Jul 28 2020 Fedora Release Engineering - 1.8-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.8-24 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.8-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.8-21 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.8-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.8-18 - Perl 5.28 rebuild * Wed Mar 07 2018 Petr Pisar - 1.8-17 - Modernize spec file * Fri Feb 09 2018 Fedora Release Engineering - 1.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.8-13 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.8-11 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.8-8 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.8-7 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.8-3 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jan 18 2013 Petr Pisar 1.8-1 - Specfile autogenerated by cpanspec 1.78.