ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/mysql-deployment.spec
(Generate patch)

Comparing COMP/CMSDIST/mysql-deployment.spec (file contents):
Revision 1.4 by valya, Tue Feb 5 16:38:47 2008 UTC vs.
Revision 1.5 by valya, Thu May 1 17:05:13 2008 UTC

# Line 1 | Line 1
1 < ### RPM external mysql-deployment 0.0.1
1 > ### RPM external mysql-deployment 0.0.2
2  
3 < Source: /tmp/mysql-deployment.sh
3 > Source: ./mysql-deployment.sh
4   Requires: mysql
5   # Let's fake the fact that we have perl (DBI) so that rpm does not complain.
6   Provides: mysql-deployment.sh
7  
8   %prep
9 < cat << \EOF > /tmp/mysql-deployment.sh
9 > cat << \EOF > ./mysql-deployment.sh
10   #!/bin/bash
11   set -e
12  
# Line 55 | Line 55 | else
55   fi
56  
57   EOF
58 < chmod a+x /tmp/mysql-deployment.sh
58 > chmod a+x ./mysql-deployment.sh
59   mkdir -p %{i}/bin
60  
61   %build
62  
63   %install
64 < cp /tmp/mysql-deployment.sh %{i}/bin
65 < cp /tmp/mysql-deployment.sh $RPM_SOURCE_DIR
64 > cp ./mysql-deployment.sh %{i}/bin
65 > cp ./mysql-deployment.sh $RPM_SOURCE_DIR
66  
67   %post
68   %{relocateConfig}/bin/mysql-deployment.sh
69 + rm -f ./mysql-deployment.sh
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines