diff options
| author | Remi Collet <fedora@famillecollet.com> | 2014-02-21 18:40:40 +0100 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2014-02-21 18:40:40 +0100 | 
| commit | 7b13d8319bc338d43369b0c8210625feb569eb35 (patch) | |
| tree | cf5ce698c19ca65a441d2c940a211b245196925c | |
| parent | 0f7f775ac0e03dcd699a24fa3b0e7498c1e77dcb (diff) | |
php-goutte: backport stuff
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | php-goutte.spec | 10 | 
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-goutte.spec b/php-goutte.spec index ae3df76..ed40bd4 100644 --- a/php-goutte.spec +++ b/php-goutte.spec @@ -22,6 +22,7 @@ License:       MIT  URL:           https://github.com/%{github_owner}/%{github_name}  Source0:       %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildArch:     noarch  # For tests  BuildRequires: php(language)           >= %{php_min_ver} @@ -73,6 +74,7 @@ from the HTML/XML responses.  %install +rm -rf %{buildroot}  mkdir -pm 0755 %{buildroot}/%{_datadir}/php/%{github_name}  cp -p %{github_name}/Client.php %{buildroot}/%{_datadir}/php/%{github_name}/ @@ -94,12 +96,20 @@ sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml  %{_bindir}/phpunit -d date.timezone="UTC" +%clean +rm -rf %{buildroot} + +  %files +%defattr(-,root,root,-)  %doc LICENSE README.rst composer.json  %{_datadir}/php/%{github_name}  %changelog +* Fri Feb 21 2014 Remi Collet <remi@fedoraproject.org> 1.0.5-1 +- backport for remi repo +  * Wed Feb 19 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 1.0.5-1  - Updated to 1.0.5  - Conditional release dist  | 
