Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.1, 0.8.2, and 0.8.3

Update rpm spec to match the "official" 0.8 rpms

The only difference is now the version number ...

Changeset 324626306cc4

Parent 85ad42406750

by Mads Kiilerich

Changes to 2 files · Browse files at 324626306cc4 Showing diff from parent 85ad42406750 Diff from another changeset...

Change 1 of 1 Show Entire File contrib/​rpm.sh Stacked
 
1
2
3
4
 
5
6
7
 
1
2
3
 
4
5
6
7
@@ -1,7 +1,7 @@
 #!/bin/sh    mkdir -p rpmbuild/{SOURCES,BUILD} -hg archive -t tgz rpmbuild/SOURCES/tortoisehg-hg.tgz +hg archive -t tgz rpmbuild/SOURCES/tortoisehg-hg.tar.gz  rpmbuild --define "_topdir $(pwd)/rpmbuild" -ba $(dirname $0)/tortoisehg.spec  rm -rf rpmbuild/BUILD/  ls -l rpmbuild/{RPMS/*,SRPMS}/tortoisehg-*.rpm
 
9
10
11
12
 
13
14
15
 
16
17
18
 
30
31
32
33
 
 
 
 
34
35
36
 
9
10
11
 
12
13
14
 
15
16
17
18
 
30
31
32
 
33
34
35
36
37
38
39
@@ -9,10 +9,10 @@
 Group: Development/Tools  License: GPLv2  URL: http://bitbucket.org/tortoisehg/stable/wiki/ -Source0: tortoisehg-hg.tgz +Source0: tortoisehg-%{version}.tar.gz  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRequires: python -Requires: python >= 2.4, mercurial >= 1.1.2, gnome-python2-gconf +Requires: python >= 2.4, mercurial >= 1.3, gnome-python2-gconf  Requires: gnome-python2-gtksourceview, pycairo, pygobject2, pygtk2 >= 2.10    %description @@ -30,7 +30,10 @@
 system available in the file manager with a graphical interface.    %prep -%setup -q -n tortoisehg-hg +%setup -q -n tortoisehg-%{version} + +# Fix for nautilus python extensions in lib64 on x86_64 +sed -i "s,lib/nautilus,%{_lib}/nautilus,g" setup.py    cat > thgutil/config.py << EOT  bin_path = "%{_bindir}"