diff --git a/perl-Scalar-Properties.spec b/perl-Scalar-Properties.spec index 64ae5372e81c501803238fcd535667599efd0092..c90f8f0789338f0ba46c57b52ddb6252a749852d 100644 --- a/perl-Scalar-Properties.spec +++ b/perl-Scalar-Properties.spec @@ -1,15 +1,13 @@ %bcond_with perl_Scalar_Properties_enables_extra_test -# no debug package because it's noarch -%global debug_package %{nil} # Similarly for .package_note* files %undefine _package_note_file Name: perl-Scalar-Properties Version: 1.100860 -Release: 1 +Release: 2 Summary: Run-time properties on scalar variables -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Scalar-Properties Source0: https://cpan.metacpan.org/authors/id/M/MA/MARCEL/Scalar-Properties-%{version}.tar.gz Patch0: Scalar-Properties-1.100860-English-is-for-author-tests.patch @@ -47,8 +45,6 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.08 BuildRequires: perl(Test::Portability::Files) BuildRequires: perl(Test::Synopsis) %endif -# Runtime requirements -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Scalar::Properties attempts to make Perl more object-oriented by taking an idea @@ -56,17 +52,14 @@ from Ruby: Everything you manipulate is an object, and the results of those manipulations are objects themselves. %prep -%setup -q -n Scalar-Properties-%{version} -%patch0 -p1 -%patch3 -p1 +%autosetup -p1 -n Scalar-Properties-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check @@ -83,5 +76,8 @@ make test %{_mandir}/man3/Scalar::Properties.3* %changelog +* Sun Jan 19 2025 Funda Wang - 1.100860-2 +- drop useless perl(:MODULE_COMPAT) requirement + * Wed Jun 29 2022 misaka00251 - 1.100860-1 - Init package (Thanks to fedora team)