]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-SGMLSpm: Update to 1.1
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Feb 2023 17:25:40 +0000 (17:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Feb 2023 17:25:40 +0000 (17:25 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-SGMLSpm/perl-SGMLSpm.nm

index 4590ed9ba8d98ade383e4624339ae793d413e123..bc03dd3e8e1ca71bcb2ccd6bfd1e9d9e4eeae297 100644 (file)
@@ -4,8 +4,9 @@
 ###############################################################################
 
 name       = perl-SGMLSpm
-version    = 1.03ii
+version    = 1.1
 release    = 1
+thisapp    = SGMLSpm-%{version}
 arch       = noarch
 
 groups     = Development/Libraries
@@ -18,24 +19,20 @@ description
        documents into new formats.
 end
 
-source_dl  = http://www.cpan.org/authors/id/D/DM/DMEGG/
-
-thisapp    = SGMLSpm-%{version}
+source_dl  = https://cpan.metacpan.org/authors/id/R/RA/RAAB/
 
 build
-       DIR_APP = %{DIR_SRC}/SGMLSpm
-
-       build = # Nothing to do.
+       requires
+               perl(ExtUtils::MakeMaker)
+       end
 
-       install
-               # Create directory layout.
-               mkdir -pv %{BUILDROOT}/usr/bin
-               mkdir -pv %{BUILDROOT}/usr/share/perl5
+       build
+               perl Makefile.PL INSTALLDIRS=vendor
+               make %{PARALLELISMFLAGS}
+       end
 
-               # Install the module.
-               make install_system \
-                       BINDIR=%{BUILDROOT}/usr/bin/ \
-                       PERL5DIR=%{BUILDROOT}/usr/share/perl5/
+       test
+               make test
        end
 end