[packages/php-facebook-sdk] patch proper file with nps :)
glen
glen at pld-linux.org
Sat Aug 25 16:33:56 CEST 2012
commit 7224ef7034b11e98ed24e439da0f6c398386aa87
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Aug 25 17:33:52 2012 +0300
patch proper file with nps :)
class-nps.patch | 2 +-
php-facebook-sdk.spec | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-facebook-sdk.spec b/php-facebook-sdk.spec
index df7085a..1780bc5 100644
--- a/php-facebook-sdk.spec
+++ b/php-facebook-sdk.spec
@@ -7,7 +7,7 @@
Summary: PHP SDK for the Facebook API
Name: php-facebook-sdk
Version: 3.1.1
-Release: 5
+Release: 6
License: Apache v2.0
Group: Development/Languages/PHP
Source0: https://github.com/facebook/facebook-php-sdk/tarball/v%{version}#/%{name}-%{version}.tgz
@@ -54,7 +54,7 @@ phpunit --colors --coverage-html coverage --verbose --stderr --bootstrap tests/b
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_data_dir}
-cp -a src/*facebook.php $RPM_BUILD_ROOT%{php_data_dir}
+cp -a src/*facebook*.php $RPM_BUILD_ROOT%{php_data_dir}
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -66,5 +66,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc readme.md changelog.md
%{php_data_dir}/facebook.php
+%{php_data_dir}/facebook.nps.php
%{php_data_dir}/base_facebook.php
%{_examplesdir}/%{name}-%{version}
diff --git a/class-nps.patch b/class-nps.patch
index 30ecc0f..6c16050 100644
--- a/class-nps.patch
+++ b/class-nps.patch
@@ -3,7 +3,7 @@ session storage.
This makes api calls possible, but no login support for users.
---- php-facebook-sdk-3.1.1/src/facebook.php 2011-08-09 03:32:07.000000000 +0300
+--- php-facebook-sdk-3.1.1/src/facebook.nps.php 2011-08-09 03:32:07.000000000 +0300
+++ php-facebook-sdk-3.1.1/src/facebook.nps.php 2012-08-21 19:00:15.841768544 +0300
@@ -19,29 +19,16 @@
More information about the pld-cvs-commit
mailing list