%tarversion seems redundant now

seems older gettext versions (< 0.20?) used major version for some paths
This commit is contained in:
Jens Petersen 2020-08-06 22:59:55 +08:00
parent 7581bbfd34
commit 306be9bb5f
1 changed files with 4 additions and 7 deletions

View File

@ -1,12 +1,9 @@
%bcond_with jar %bcond_with jar
%bcond_with java %bcond_with java
%global tarversion 0.21
%global archiveversion 0.21
Summary: GNU libraries and utilities for producing multi-lingual messages Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext Name: gettext
Version: %{tarversion} Version: 0.21
Release: 2%{?dist} Release: 2%{?dist}
# The following are licensed under LGPLv2+: # The following are licensed under LGPLv2+:
# - libintl and its headers # - libintl and its headers
@ -175,7 +172,7 @@ think about.
%prep %prep
%autosetup -n %{name}-%{tarversion} -S git %autosetup -S git
# Defeat libtextstyle attempt to bundle libxml2. The comments # Defeat libtextstyle attempt to bundle libxml2. The comments
# indicate this is done because the libtextstyle authors do not want # indicate this is done because the libtextstyle authors do not want
@ -337,8 +334,8 @@ make check LIBUNISTRING=-lunistring
%{_datadir}/%{name}/ABOUT-NLS %{_datadir}/%{name}/ABOUT-NLS
%{_datadir}/%{name}/po %{_datadir}/%{name}/po
%{_datadir}/%{name}/styles %{_datadir}/%{name}/styles
%dir %{_datadir}/%{name}-%{tarversion} %dir %{_datadir}/%{name}-%{version}
%{_datadir}/%{name}-%{tarversion}/its %{_datadir}/%{name}-%{version}/its
%files common-devel %files common-devel
%{_datadir}/%{name}/archive.*.tar.xz %{_datadir}/%{name}/archive.*.tar.xz