Commit e7b2b598 authored by Pekka Vuorela's avatar Pekka Vuorela

Fix build in OBS when .spec Version gets modified

Building from untagged git results in custom value in Version.
Files, however, still installed to 52.1 dir -> fail.
parent b9d30824
%define upstream_version 52.1
Name: icu52
Version: 52.1
Version: %{upstream_version}
Release: 10%{?dist}
Summary: International Components for Unicode
Group: Development/Tools
......@@ -141,11 +142,11 @@ make %{?_smp_mflags} -C source check
%{_libdir}/pkgconfig/*.pc
%{_libdir}/icu
%dir %{_datadir}/icu
%dir %{_datadir}/icu/%{version}
%{_datadir}/icu/%{version}/install-sh
%{_datadir}/icu/%{version}/mkinstalldirs
%{_datadir}/icu/%{version}/config
%doc %{_datadir}/icu/%{version}/license.html
%dir %{_datadir}/icu/%{upstream_version}
%{_datadir}/icu/%{upstream_version}/install-sh
%{_datadir}/icu/%{upstream_version}/mkinstalldirs
%{_datadir}/icu/%{upstream_version}/config
%doc %{_datadir}/icu/%{upstream_version}/license.html
%files -n lib%{name}-doc
%defattr(-,root,root,-)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment