-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhrb-php.spec
47 lines (34 loc) · 1009 Bytes
/
hrb-php.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Summary: Script to change PHP.INI for php-[pecl,pear] packages.
Name: hrb-php
Version: 0.1
Release: 5%{?dist}
License: GPL
Group: System Environment/Base
URL: http://www.hrbac.cz/repository.htm
BuildArch: noarch
Requires: php-common
BuildRequires: php-common
Source: hrb-php.ini
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Script to change PHP.INI for php-[pecl,pear] packages.
%prep
%build
%install
%{__rm} -rf %{buildroot}
%clean
%{__rm} -rf %{buildroot}
%post
[ -f /etc/php.ini ] && sed -i -r "s/memory_limit = [0-9]+/memory_limit = 256/" /etc/php.ini
%files
%changelog
* Tue Oct 19 2010 David Hrbáč <[email protected]> - 0.1-4
- moved to post
* Tue Oct 19 2010 David Hrbáč <[email protected]> - 0.1-4
- corrected regular expression
* Tue Oct 19 2010 David Hrbáč <[email protected]> - 0.1-3
- small correction
* Tue Oct 19 2010 David Hrbáč <[email protected]> - 0.1-2
- added Requires
* Mon Oct 18 2010 David Hrbáč <[email protected]> - 0.1-1
- Initial package.