No longer split out emacs-git and emacs-git-el sub-packages
This commit is contained in:
parent
55d5f601ae
commit
a450dba5a6
26
git.spec
26
git.spec
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
Version: 2.4.5
|
Version: 2.4.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Fast Version Control System
|
Summary: Fast Version Control System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -100,6 +100,15 @@ Requires: perl(Term::ReadKey)
|
|||||||
%endif
|
%endif
|
||||||
Requires: perl-Git = %{version}-%{release}
|
Requires: perl-Git = %{version}-%{release}
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
|
||||||
|
Requires: emacs-filesystem >= %{_emacs_version}
|
||||||
|
# These can be removed in Fedora 26
|
||||||
|
Obsoletes: emacs-git <= 2.4.5
|
||||||
|
Obsoletes: emacs-git-el <= 2.4.5
|
||||||
|
Provides: emacs-git <= 2.4.5
|
||||||
|
Provides: emacs-git-el <= 2.4.5
|
||||||
|
%endif
|
||||||
|
|
||||||
#Provides: git-core = %{version}-%{release}
|
#Provides: git-core = %{version}-%{release}
|
||||||
#%if 0%{?rhel} && 0%{?rhel} <= 5
|
#%if 0%{?rhel} && 0%{?rhel} <= 5
|
||||||
#Obsoletes: git-core <= 1.5.4.3
|
#Obsoletes: git-core <= 1.5.4.3
|
||||||
@ -134,7 +143,9 @@ Requires: perl-Git = %{version}-%{release}
|
|||||||
%if ! %{defined perl_bootstrap}
|
%if ! %{defined perl_bootstrap}
|
||||||
Requires: perl(Term::ReadKey)
|
Requires: perl(Term::ReadKey)
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 6
|
||||||
Requires: emacs-git = %{version}-%{release}
|
Requires: emacs-git = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Obsoletes: git <= 1.5.4.3
|
Obsoletes: git <= 1.5.4.3
|
||||||
|
|
||||||
%description all
|
%description all
|
||||||
@ -288,6 +299,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
|
|||||||
%description -n perl-Git-SVN
|
%description -n perl-Git-SVN
|
||||||
Perl interface to Git.
|
Perl interface to Git.
|
||||||
|
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 6
|
||||||
%package -n emacs-git
|
%package -n emacs-git
|
||||||
Summary: Git version control system support for Emacs
|
Summary: Git version control system support for Emacs
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
@ -312,6 +324,7 @@ Requires: emacs-git = %{version}-%{release}
|
|||||||
|
|
||||||
%description -n emacs-git-el
|
%description -n emacs-git-el
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -546,6 +559,10 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files -f bin-man-doc-git-files
|
%files -f bin-man-doc-git-files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
|
||||||
|
%{elispdir}
|
||||||
|
%{_emacs_sitestartdir}/git-init.el
|
||||||
|
%endif
|
||||||
#%{_datadir}/git-core/*
|
#%{_datadir}/git-core/*
|
||||||
#%doc Documentation/*.txt
|
#%doc Documentation/*.txt
|
||||||
#%{!?_without_docs: %doc Documentation/*.html}
|
#%{!?_without_docs: %doc Documentation/*.html}
|
||||||
@ -623,6 +640,7 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{!?_without_docs: %{_mandir}/man3/*Git*SVN*.3pm*}
|
%{!?_without_docs: %{_mandir}/man3/*Git*SVN*.3pm*}
|
||||||
|
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 6
|
||||||
%files -n emacs-git
|
%files -n emacs-git
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc contrib/emacs/README
|
%doc contrib/emacs/README
|
||||||
@ -633,6 +651,7 @@ rm -rf %{buildroot}
|
|||||||
%files -n emacs-git-el
|
%files -n emacs-git-el
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{elispdir}/*.el
|
%{elispdir}/*.el
|
||||||
|
%endif
|
||||||
|
|
||||||
%files daemon
|
%files daemon
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -660,6 +679,11 @@ rm -rf %{buildroot}
|
|||||||
# No files for you!
|
# No files for you!
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 7 2015 Jonathan Underwood <jonathan.underwood@gmail.com> - 2.4.5-2
|
||||||
|
- Comply with modern Emacs packaging guidelines on recent Fedora
|
||||||
|
No longer split out emacs-git and emacs-git-el sub-packages on recent Fedora
|
||||||
|
Require emacs-filesystem on recent Fedora (#1234552)
|
||||||
|
|
||||||
* Fri Jun 26 2015 Jon Ciesla <limburgher@gmail.com> - 2.4.5-1
|
* Fri Jun 26 2015 Jon Ciesla <limburgher@gmail.com> - 2.4.5-1
|
||||||
- Update to 2.4.5.
|
- Update to 2.4.5.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user