Drop the -lang package
This commit is contained in:
parent
084cfec88f
commit
ab5a43251c
@ -24,10 +24,10 @@ BuildRequires: python3-docutils
|
|||||||
Provides: hg = %{version}-%{release}
|
Provides: hg = %{version}-%{release}
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: emacs-filesystem
|
Requires: emacs-filesystem
|
||||||
Requires: %{name}-lang = %{version}-%{release}
|
|
||||||
# TODO: drop these obsoletes in F36
|
# TODO: drop these obsoletes in F36
|
||||||
Obsoletes: %{name}-py2 < %{version}-%{release}
|
Obsoletes: %{name}-py2 < %{version}-%{release}
|
||||||
Obsoletes: %{name}-py3 < %{version}-%{release}
|
Obsoletes: %{name}-py3 < %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-lang < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Mercurial is a fast, lightweight source control management system designed
|
Mercurial is a fast, lightweight source control management system designed
|
||||||
@ -68,12 +68,6 @@ Mercurial. When you type chg, a C program connects to that background process
|
|||||||
and executes Mercurial commands.
|
and executes Mercurial commands.
|
||||||
|
|
||||||
|
|
||||||
%package lang
|
|
||||||
Summary: Locales for mercurial
|
|
||||||
|
|
||||||
%description lang
|
|
||||||
Locales for mercurial.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{upstreamversion}
|
%setup -q -n %{name}-%{upstreamversion}
|
||||||
|
|
||||||
@ -153,12 +147,10 @@ rm -rf %{buildroot}%{python3_sitearch}/mercurial/locale
|
|||||||
|
|
||||||
%find_lang hg
|
%find_lang hg
|
||||||
|
|
||||||
grep -v locale %{name}-base.files > %{name}-base-filtered.files
|
|
||||||
|
|
||||||
pathfix.py -pni "%{python3}" %{buildroot}%{_bindir}/hg-ssh
|
pathfix.py -pni "%{python3}" %{buildroot}%{_bindir}/hg-ssh
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}-base-filtered.files
|
%files -f %{name}-base.files -f hg.lang
|
||||||
%doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi contrib/*.wsgi
|
%doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi contrib/*.wsgi
|
||||||
%doc %attr(644,root,root) %{_mandir}/man?/hg*.gz
|
%doc %attr(644,root,root) %{_mandir}/man?/hg*.gz
|
||||||
%doc %attr(644,root,root) contrib/*.svg
|
%doc %attr(644,root,root) contrib/*.svg
|
||||||
@ -187,8 +179,6 @@ pathfix.py -pni "%{python3}" %{buildroot}%{_bindir}/hg-ssh
|
|||||||
%{_bindir}/chg
|
%{_bindir}/chg
|
||||||
%doc %attr(644,root,root) %{_mandir}/man?/chg.*.gz
|
%doc %attr(644,root,root) %{_mandir}/man?/chg.*.gz
|
||||||
|
|
||||||
%files lang -f hg.lang
|
|
||||||
|
|
||||||
|
|
||||||
#%%check
|
#%%check
|
||||||
# This will now fail everytime. Mercurial is not ported properly for Python3
|
# This will now fail everytime. Mercurial is not ported properly for Python3
|
||||||
|
Loading…
Reference in New Issue
Block a user