]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-SGMLSpm: Drop unneccessary perl script
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Mar 2023 09:47:48 +0000 (10:47 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:40 +0000 (18:25 +0000)
We do not need this and it violates our FHS specs.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
perl-SGMLSpm/perl-SGMLSpm.nm

index bc03dd3e8e1ca71bcb2ccd6bfd1e9d9e4eeae297..a408ae7c509f80e7c7f3778de4ab74e44a5626d9 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = perl-SGMLSpm
 version    = 1.1
-release    = 1
+release    = 2
 thisapp    = SGMLSpm-%{version}
 arch       = noarch
 
@@ -24,6 +24,7 @@ source_dl  = https://cpan.metacpan.org/authors/id/R/RA/RAAB/
 build
        requires
                perl(ExtUtils::MakeMaker)
+               perl(Test::More)
        end
 
        build
@@ -34,6 +35,11 @@ build
        test
                make test
        end
+
+       install_cmds
+               # Drop unwanted script
+               rm -rvf %{BUILDROOT}%{bindir}/sgmlspl.pl
+       end
 end
 
 packages