From 928ce3101bf3b1a3d9595ecb402f72e24508a5f0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 1 Nov 2015 10:44:42 +0100 Subject: apigen: 4.1.1 - New pakckage --- php-apigen-theme-bootstrap.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/php-apigen-theme-bootstrap.spec b/php-apigen-theme-bootstrap.spec index 7d33a84..57a8044 100644 --- a/php-apigen-theme-bootstrap.spec +++ b/php-apigen-theme-bootstrap.spec @@ -6,6 +6,7 @@ # # Please, preserve the changelog entries # +%global bootstrap 1 %global gh_commit 55a35b4a3a9a5fcaa6a8fc43fb304983cab98c6c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20150717 @@ -33,8 +34,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: php-composer(latte/latte) >= 2.2 Requires: php-composer(latte/latte) < 3 # For tree ownership +%if ! %{bootstrap} Requires: php-composer(%{composer_vendor}/apigen) - +%endif # Composer Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} @@ -69,6 +71,10 @@ rm -rf %{buildroot} %license LICENSE %doc *.md %doc composer.json +%if %{bootstrap} +%dir %{_datadir}/%{composer_vendor} +%dir %{_datadir}/%{composer_vendor}/themes +%endif %{_datadir}/%{composer_vendor}/themes/%{composer_project} -- cgit