~stewart/percona-server/bug959198

« back to all changes in this revision

Viewing changes to build/percona-shared-compat.spec

  • Committer: Stewart Smith
  • Date: 2012-11-16 05:55:04 UTC
  • mfrom: (333.2.2 release-5.5.28-29.1)
  • Revision ID: stewart@flamingspork.com-20121116055504-y2oq748ijpxnrkmu
merge 5.5.28-29.1 release branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#
29
29
# Change this to match the version of the shared libs you want to include
30
30
#
31
 
%define version55 5.5.27
32
 
%define version51 5.1.48
 
31
%define version55 5.5.28
 
32
%define version51 5.1.66
33
33
%define version50 5.0.91
34
34
%define version41 4.1.22
35
35
%define version40 4.0.27
53
53
 
54
54
# We extract the older libraries from mysql-shared-compat and the newer from our sources
55
55
Source0:      MySQL-shared-compat-%{version55}-1.linux2.6.%{_arch}.rpm
 
56
Source1:      Percona-Server-shared-51-%{version51}.rhel%{redhatversion}.%{_arch}.rpm
56
57
#Source1:      MySQL-shared-%{version50}-1.%{_arch}.rpm
57
58
#Source2:      MySQL-shared-%{version41}-0.%{_arch}.rpm
58
59
#Source3:      MySQL-shared-%{version40}-0.%{_arch}.rpm
60
61
# No need to include the RPMs once more - they can be downloaded seperately
61
62
# if you want to rebuild this package
62
63
NoSource:     0
63
 
#NoSource:     1
 
64
NoSource:     1
64
65
#NoSource:     2
65
66
#NoSource:     3
66
67
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
80
81
#rpm2cpio %{SOURCE1} | cpio -iv --make-directories
81
82
#rpm2cpio %{SOURCE2} | cpio -iv --make-directories
82
83
#rpm2cpio %{SOURCE3} | cpio -iv --make-directories
 
84
rpm2cpio %{SOURCE1} | cpio -ivu '*/usr/lib64/libmysqlclient*so.16*'
83
85
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
84
86
 
85
87
%clean