/[smeserver]/rpms/e-smith-mysql/sme7/e-smith-mysql.spec
ViewVC logotype

Diff of /rpms/e-smith-mysql/sme7/e-smith-mysql.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Tue Jun 12 15:47:46 2007 UTC Revision 1.7 by wellsi, Wed Jun 9 23:05:16 2010 UTC
# Line 1  Line 1 
1    # $Id: e-smith-mysql.spec,v 1.6 2010/06/07 14:38:16 filippocarletti Exp $
2    
3  Summary: e-smith specific mysql configuration and templates.  Summary: e-smith specific mysql configuration and templates.
4  %define name e-smith-mysql  %define name e-smith-mysql
5  Name: %{name}  Name: %{name}
6  %define version 1.12.0  %define version 2.0.0
7  %define release 14  %define release 4
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13  Patch0: e-smith-mysql-1.12.0-setpassword.patch2  Patch0: e-smith-mysql-2.0.0-fixLogging.patch
 Patch1: e-smith-mysql-1.12.0-flushprivssemicolon.patch  
 Patch2: e-smith-mysql-1.12.0-innodb-optional.patch  
 Patch3: e-smith-mysql-1.12.0-install_db.patch  
 Patch4: e-smith-mysql-1.12.0.disabled_pre_backup.patch  
 Patch5: e-smith-mysql-1.12.0.failed_restore.patch  
 Patch6: e-smith-mysql-1.12.0-split_backup_db.patch  
 Patch7: e-smith-mysql-1.12.0-mysqluser.patch  
 Patch8: e-smith-mysql-1.12.0-max_allowed_packet.patch  
 Patch9: e-smith-mysql-1.12.0-max_allowed_packet2.patch  
 Patch10: e-smith-mysql-1.12.0-force_upgrade.patch  
14  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  Requires: mysql-server  Requires: mysql-server
# Line 29  BuildRequires: e-smith-devtools >= 1.13. Line 21  BuildRequires: e-smith-devtools >= 1.13.
21  AutoReqProv: no  AutoReqProv: no
22    
23  %changelog  %changelog
24    * Mon Jun  7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.0.0-4.sme
25    - Fix %postun typo [SME: 6043]
26    
27    * Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme
28    - Rework log-error logic [SME: 4807]
29    
30    * Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2.sme
31    - Fix log-error detection algorithm [SME: 4807]
32    
33    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme
34    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
35    
36    * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15
37    - quote "$1" in post uninstall script [SME: 349]
38    
39  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
40  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
41    
# Line 663  mysql. Line 670  mysql.
670  %prep  %prep
671  %setup  %setup
672  %patch0 -p1  %patch0 -p1
 %patch1 -p1  
 %patch2 -p1  
 %patch3 -p1  
 %patch4 -p1  
 %patch5 -p1  
 %patch6 -p1  
 %patch7 -p1  
 %patch8 -p1  
 %patch10 -p1  
673    
674  %build  %build
675  mkdir -p root/etc/e-smith/sql/init  mkdir -p root/etc/e-smith/sql/init
# Line 722  rm -rf $RPM_BUILD_ROOT Line 720  rm -rf $RPM_BUILD_ROOT
720  [ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld  [ -e /etc/rc.d/init.d/mysqld ] || ln -s ./mysql /etc/rc.d/init.d/mysqld
721    
722  %postun  %postun
723  if [ $1 == 0 ]; then  if [ "$1" == 0 ]; then
724    [ -l /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld    [ -L /etc/rc.d/init.d/mysqld ] && rm /etc/rc.d/init.d/mysqld || :
725  fi  fi
726    
727  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed