summaryrefslogtreecommitdiffstats
path: root/php-apigen-theme-default.spec
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
commit3261d71f338d599fd22123e6d26ed2a80c8dc354 (patch)
treee5c15558aaf66e446379a032191ee084dbf38115 /php-apigen-theme-default.spec
parenta71e7648e27d80f5262a73e023c789443c575913 (diff)
apigen: 4.1.1 - New pakckage
Diffstat (limited to 'php-apigen-theme-default.spec')
-rw-r--r--php-apigen-theme-default.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-apigen-theme-default.spec b/php-apigen-theme-default.spec
index b904c51..c91aad3 100644
--- a/php-apigen-theme-default.spec
+++ b/php-apigen-theme-default.spec
@@ -6,6 +6,7 @@
#
# Please, preserve the changelog entries
#
+%global bootstrap 1
%global gh_commit 51648cf83645d9ae6c655fe46bcd26a347d45336
%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}