[SPECS] bzr.spec to latest rc1

Arkadiusz Machoł arkadiusz.machol at gmail.com
Thu Nov 30 10:16:46 CET 2006


I've attached a patch upgrading bzr.spec to the latest version (rc1).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/pld-devel-en/attachments/20061130/e814105a/attachment.html 
-------------- next part --------------
--- bzr.spec.orig	2006-11-29 09:57:41.000000000 +0100
+++ bzr.spec	2006-11-29 09:55:29.000000000 +0100
@@ -2,12 +2,13 @@
 Summary:	Bazaar-NG - a changeset oriented revision control system
 Summary(pl):	Bazaar-NG - system kontroli wersji zorientowany na zestawy zmian
 Name:		bzr
-Version:	0.12
-Release:	1
+Version:	0.13
+%define		_rc	rc1
+Release:	0.%{_rc}.1
 License:	GPL v2
 Group:		Development/Version Control
-Source0:	http://bazaar-vcs.org/releases/src/%{name}-%{version}.tar.gz
-# Source0-md5:	68bf4e425a93bdf5961af9c3c35229bf
+Source0:	http://bazaar-vcs.org/releases/src/%{name}-%{version}%{_rc}.tar.gz
+# Source0-md5:	018787a350e423ca8d8da3bd11f77f72
 Patch0:		%{name}-FHS.patch
 URL:		http://bazaar-vcs.org/
 BuildRequires:	python >= 1:2.4
@@ -72,15 +73,16 @@
 Bazaar-NG obs?uguje tak?e wsp??dzielenie ga??zi mi?dzy programistami.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_rc}
 %patch0 -p1
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install --optimize=2 \
+%{__python} setup.py install \
+	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
 %py_postclean


More information about the pld-devel-en mailing list