##// END OF EJS Templates
bundlerepo: avoid exception in __del__ when the bundle doesn't exist...
bundlerepo: avoid exception in __del__ when the bundle doesn't exist $ hg -R bundle://foo.hg abort: No such file or directory: foo.hg Exception exceptions.AttributeError: "'bundlerepository' object has no attribute 'bundlefile'" in <bound method bundlerepository.__del__ of <mercurial.bundlerepo.bundlerepository object at 0xa7ab9fac>> ignored

File last commit:

r1891:e5c8e38b default
r3429:b19360aa default
Show More
mercurial.spec
42 lines | 1004 B | text/x-rpm-spec | RPMSpecLexer
mpm@selenic.com
Add an RPM spec file...
r459 Summary: Mercurial -- a distributed SCM
Name: mercurial
Thomas Arendsen Hein
New version/release in mercurial.spec, patchbomb is now in hgext.
r1891 Version: 0.8
Release: 0
Florian La Roche
Clean up RPM spec file
r1273 License: GPL
mpm@selenic.com
Add an RPM spec file...
r459 Group: Development/Tools
Source: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz
Florian La Roche
Clean up RPM spec file
r1273 URL: http://www.selenic.com/mercurial
mpm@selenic.com
Add an RPM spec file...
r459 BuildRoot: /tmp/build.%{name}-%{version}-%{release}
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
%define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name}
Xiaofeng Ling
fix contrib/mercurial.spec for hgext
r1890 %define hgext %{_libdir}/python%{pythonver}/site-packages/hgext
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563
mpm@selenic.com
Add an RPM spec file...
r459 %description
Mercurial is a fast, lightweight source control management system designed
for efficient handling of very large distributed projects.
%prep
rm -rf $RPM_BUILD_ROOT
Florian La Roche
Clean up RPM spec file
r1273 %setup -q
mpm@selenic.com
Add an RPM spec file...
r459
%build
python setup.py build
%install
python setup.py install --root $RPM_BUILD_ROOT
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %clean
rm -rf $RPM_BUILD_ROOT
mpm@selenic.com
Add an RPM spec file...
r459
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %files
%defattr(-,root,root,-)
Thomas Arendsen Hein
New version/release in mercurial.spec, patchbomb is now in hgext.
r1891 %doc doc/* *.cgi
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %dir %{pythonlib}
Xiaofeng Ling
fix contrib/mercurial.spec for hgext
r1890 %dir %{hgext}
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %{_bindir}/hgmerge
%{_bindir}/hg
%{pythonlib}/templates
Florian La Roche
Clean up RPM spec file
r1273 %{pythonlib}/*.py*
mpm@selenic.com
[PATCH] clean up RPM spec file...
r563 %{pythonlib}/*.so
Xiaofeng Ling
fix contrib/mercurial.spec for hgext
r1890 %{hgext}/*.py*