From 929aa971fd6e3f54407f67f5b0a9a371bd0a183d38402c62f6514b217706ac64 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 25 Jun 2017 08:01:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-MakeMaker?expand=0&rev=39 --- cpanspec.yml | 7 ++++--- perl-ExtUtils-MakeMaker.spec | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) 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