forked from pool/perl-IO-Compress
- added post_install section to avoid file conflicts with perl core OBS-URL: https://build.opensuse.org/request/show/864098 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Compress?expand=0&rev=29
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
---
|
|
#description_paragraphs: 3
|
|
#description: |-
|
|
# override description from CPAN
|
|
#summary: override summary from CPAN
|
|
#no_testing: broken upstream
|
|
#sources:
|
|
# - source1
|
|
# - source2
|
|
#patches:
|
|
# foo.patch: -p1
|
|
# bar.patch:
|
|
#preamble: |-
|
|
# BuildRequires: gcc-c++
|
|
#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: |-
|
|
# rm unused.files
|
|
#post_install: |-
|
|
# sed on %{name}.files
|
|
#license: SUSE-NonFree
|
|
#skip_noarch: 1
|
|
#custom_build: |-
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|
|
#custom_test: |-
|
|
#startserver && make test
|
|
#ignore_requires: Bizarre::Module
|
|
post_install: |-
|
|
# Avoid file conflicts with perl core
|
|
mv %{buildroot}/usr/bin/streamzip %{buildroot}/usr/bin/streamzip-%{version}
|
|
mv %{buildroot}/usr/bin/zipdetails %{buildroot}/usr/bin/zipdetails-%{version}
|
|
mv %{buildroot}/usr/share/man/man1/streamzip.1 %{buildroot}/usr/share/man/man1/streamzip-%{version}.1
|
|
mv %{buildroot}/usr/share/man/man1/zipdetails.1 %{buildroot}/usr/share/man/man1/zipdetails-%{version}.1
|