From 4e8ff111ce68b96a3259b0e7575d92ff9110e7f2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 Dec 2014 07:21:24 +0100 Subject: php-Assetic: 1.2.1 (backport) --- php-Assetic.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/php-Assetic.spec b/php-Assetic.spec index 079bbfd..77e6e5c 100644 --- a/php-Assetic.spec +++ b/php-Assetic.spec @@ -1,7 +1,7 @@ %global github_owner kriswallsmith %global github_name assetic -%global github_version 1.1.2 -%global github_commit 735cffd3982c6e8cdebe292d5db39d077f65890f +%global github_version 1.2.1 +%global github_commit b20efe38845d20458702f97f3ff625d80805897b Name: php-Assetic Version: %{github_version} @@ -35,6 +35,8 @@ Requires: php-pear(pear.twig-project.org/Twig) < 2.0 Requires: php-lessphp Requires: php-scssphp +Provides: php-composer(%{github_owner}/%{github_name}) = %{version} + %description Assetic is an asset management framework for PHP. @@ -51,19 +53,21 @@ Optional packages: # Move functions file mv src/functions.php src/Assetic/ -# Remove executable bit -chmod a-x CHANGELOG-1.1.md - %build # Empty build section, nothing to build %install +rm -rf %{buildroot} mkdir -p -m 755 %{buildroot}%{_datadir}/php cp -rp src/Assetic %{buildroot}%{_datadir}/php/ +%clean +rm -rf %{buildroot} + + %check # TODO: Work with upstream to figure out why tests are ignored for export # (and therefore not included in a GitHub archive) @@ -72,11 +76,16 @@ cp -rp src/Assetic %{buildroot}%{_datadir}/php/ %files %defattr(-,root,root,-) -%doc LICENSE *.md composer.json +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc *.md composer.json %{_datadir}/php/Assetic %changelog +* Mon Dec 29 2014 Adam Williamson - 1.2.1-1 +- new release 1.2.1 + * Tue Aug 20 2013 Remi Collet - 1.1.2-1 - backport 1.1.2 for remi repo. -- cgit