From 690be268b7a06abfe63f29f2ff2c8639c47b4d97 Mon Sep 17 00:00:00 2001 From: David Nalley Date: Sun, 10 May 2009 06:32:56 +0000 Subject: [PATCH] - Initial Commit --- import.log | 1 + php-simplepie.spec | 27 +++++++++++++++++---------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/import.log b/import.log index 0153d6b..6ae723c 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ php-simplepie-1_1_3-2_fc10:F-10:php-simplepie-1.1.3-2.fc10.src.rpm:1241736830 +php-simplepie-1_1_3-3_fc10:F-10:php-simplepie-1.1.3-3.fc10.src.rpm:1241937045 diff --git a/php-simplepie.spec b/php-simplepie.spec index a0792b3..1710a83 100644 --- a/php-simplepie.spec +++ b/php-simplepie.spec @@ -1,12 +1,12 @@ Name: php-simplepie Version: 1.1.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple RSS Library in PHP Group: Development/Libraries License: BSD URL: http://simplepie.org/ -Source0: http://simplepie.org/downloads/simplepie_1.1.3.zip +Source0: http://simplepie.org/downloads/simplepie_%{version}.zip BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch Requires: php-IDNA_Convert @@ -19,6 +19,8 @@ compatibility and standards compliance. %prep %setup -qn %{version} +chmod -x demo/cli_test.php +chmod -x demo/for_the_demo/mediaplayer_readme.htm %build @@ -26,18 +28,15 @@ compatibility and standards compliance. %install -rm -rf $RPM_BUILD_ROOT -%{__mkdir} -p %{buildroot}/%{_datadir}/php/%{name} -cp -a create.php %{buildroot}/%{_datadir}/php/%{name}/ -cp -a simplepie.inc %{buildroot}/%{_datadir}/php/%{name}/ -rm -rf compatibility_test -chmod -x demo/cli_test.php -chmod -x demo/for_the_demo/mediaplayer_readme.htm +rm -rf %{buildroot} +mkdir -p %{buildroot}/%{_datadir}/php/%{name} +cp -a create.php simplepie.inc %{buildroot}/%{_datadir}/php/%{name}/ + %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files @@ -48,7 +47,15 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 23 2009 David Nalley 1.1.3-3 +- used version macro in source url +- stopped using two different macros for buildroot +- stopped using macro for mkdir +- moved chmods to immediately after setup in prep +- removed line that rm compatibility_test +- used a single line to copy create.php and simplepie.inc * Thu Apr 23 2009 David Nalley 1.1.3-2 - Removed php asa requires since php-IDNA_convert pulls it in * Wed Apr 22 2009 David Nalley 1.1.3-1 - Initial packaging efforts +