summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-01 10:44:42 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-01 10:44:42 +0100
commit928ce3101bf3b1a3d9595ecb402f72e24508a5f0 (patch)
treee908d5fbf0d9253b80af924a8c22e2a66710a8eb
parentfa5c19f7efaee9828f89c9aff64edac4dc3cb471 (diff)
apigen: 4.1.1 - New pakckage
-rw-r--r--php-apigen-theme-bootstrap.spec8
1 files changed, 7 insertions, 1 deletions
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}