diff --git a/cpanspec.yml b/cpanspec.yml index 2cd1530..737dd2e 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -14,10 +14,11 @@ patches: #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL -#post_build: |- +post_build: |- # rm unused.files -#post_install: |- -# sed on %{name}.files +post_install: |- + rm $RPM_BUILD_ROOT/usr/bin/instmodsh + rm $RPM_BUILD_ROOT/usr/share/man/man1/instmodsh.1 #license: SUSE-NonFree #skip_noarch: 1 custom_build: |- diff --git a/perl-ExtUtils-MakeMaker.spec b/perl-ExtUtils-MakeMaker.spec index 5748a41..1a4a6d4 100644 --- a/perl-ExtUtils-MakeMaker.spec +++ b/perl-ExtUtils-MakeMaker.spec @@ -76,6 +76,10 @@ export BUILDING_AS_PACKAGE=1 %install %perl_make_install %perl_process_packlist +# MANUAL BEGIN +rm $RPM_BUILD_ROOT/usr/bin/instmodsh +rm $RPM_BUILD_ROOT/usr/share/man/man1/instmodsh.1 +# MANUAL END %perl_gen_filelist %files -f %{name}.files