diff options
author | Remi Collet <remi@remirepo.net> | 2022-06-28 18:11:52 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-06-28 18:11:52 +0200 |
commit | c5f7e70db2e45e9ebb1b1c4c2e9f40daedecbfb6 (patch) | |
tree | 51c5bb7bf189ccf0e0ab2bf3fd1d101b56a532da | |
parent | 36086f11e6f3016160e14fbc7cfe0ce761a2cedd (diff) |
missing deps
-rw-r--r-- | libzip.spec | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libzip.spec b/libzip.spec index 1eb6453..74613ca 100644 --- a/libzip.spec +++ b/libzip.spec @@ -72,6 +72,9 @@ BuildRequires: perl(warnings) Obsoletes: libzip5 < %{version} %endif %if 0%{?rhel} == 8 +Obsoletes: php56-libzip < %{version} +Obsoletes: php70-libzip < %{version} +Obsoletes: php71-libzip < %{version} Obsoletes: php72-libzip < %{version} Obsoletes: php73-libzip < %{version} Obsoletes: php74-libzip < %{version} @@ -109,6 +112,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: libzip5-devel < %{version} %endif %if 0%{?rhel} == 8 +Obsoletes: php56-libzip-devel < %{version} +Obsoletes: php70-libzip-devel < %{version} +Obsoletes: php71-libzip-devel < %{version} Obsoletes: php72-libzip-devel < %{version} Obsoletes: php73-libzip-devel < %{version} Obsoletes: php74-libzip-devel < %{version} @@ -132,6 +138,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: libzip5-tools < %{version} %endif %if 0%{?rhel} == 8 +Obsoletes: php56-libzip-tools < %{version} +Obsoletes: php70-libzip-tools < %{version} +Obsoletes: php71-libzip-tools < %{version} Obsoletes: php72-libzip-tools < %{version} Obsoletes: php73-libzip-tools < %{version} Obsoletes: php74-libzip-tools < %{version} @@ -200,6 +209,10 @@ mkdir -p %{buildroot}%{_licensedir} make install DESTDIR=%{buildroot} INSTALL='install -p' %endif +%if %{with move_to_opt} +mkdir -p %{buildroot}%{_datadir}/licenses +mkdir -p %{buildroot}%{_datadir}/doc +%endif %check %if %{with tests} @@ -228,8 +241,7 @@ make check %dir %{_libdir} %dir %{_libdir} %dir %{_datadir} -%ghost %{_datadir}/doc -%ghost %{_datadir}/licenses +%dir %{_datadir}/licenses %endif %files tools @@ -257,6 +269,7 @@ make check %dir %{_mandir}/man3 %dir %{_libdir}/pkgconfig %dir %{_libdir}/cmake +%dir %{_datadir}/doc %endif |