Remove BR asciidoc Use macro for python executable
This commit is contained in:
parent
0ef9770072
commit
7d0b94ebac
@ -3,14 +3,14 @@
|
|||||||
Summary: A fast, lightweight distributed source control management system
|
Summary: A fast, lightweight distributed source control management system
|
||||||
Name: mercurial
|
Name: mercurial
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://www.selenic.com/mercurial/
|
URL: http://www.selenic.com/mercurial/
|
||||||
Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz
|
Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz
|
||||||
Source1: mercurial-site-start.el
|
Source1: mercurial-site-start.el
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: python python-devel asciidoc xmlto
|
BuildRequires: python python-devel
|
||||||
BuildRequires: emacs emacs-el pkgconfig
|
BuildRequires: emacs emacs-el pkgconfig
|
||||||
Requires: python
|
Requires: python
|
||||||
Provides: hg = %{version}-%{release}
|
Provides: hg = %{version}-%{release}
|
||||||
@ -84,7 +84,7 @@ make all
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files
|
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files
|
||||||
make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
|
make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
|
||||||
|
|
||||||
grep -v 'hgk.py*' < %{name}.files > %{name}-base.files
|
grep -v 'hgk.py*' < %{name}.files > %{name}-base.files
|
||||||
@ -163,9 +163,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_sysconfdir}/mercurial/hgrc.d/hgk.rc
|
%{_sysconfdir}/mercurial/hgrc.d/hgk.rc
|
||||||
|
|
||||||
#%%check
|
#%%check
|
||||||
#cd tests && python run-tests.py
|
#cd tests && %{__python} run-tests.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 1 2008 Neal Becker <ndbecker2@gmail.com> - 1.0.2-3
|
||||||
|
- Remove BR asciidoc
|
||||||
|
- Use macro for python executable
|
||||||
|
|
||||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.2-2
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.2-2
|
||||||
- Rebuild for Python 2.6
|
- Rebuild for Python 2.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user