From 5d0efded0d22020ce1aba4b9714aa574ad5b20a5 Mon Sep 17 00:00:00 2001 From: Ling Li Date: Oct 22 2019 18:24:37 +0000 Subject: issue #8: libphutil also ships resources/ --- diff --git a/libphutil/libphutil.spec b/libphutil/libphutil.spec index d32630c..c73a5fe 100644 --- a/libphutil/libphutil.spec +++ b/libphutil/libphutil.spec @@ -9,7 +9,7 @@ Name: libphutil Epoch: 1 Version: 0.%{revision_date}.git%{git_short_version_hash} -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 URL: http://www.phabricator.com/docs/libphutil/ Source0: https://github.com/phacility/libphutil/archive/%{git_full_version_hash}.tar.gz#/libphutil-%{git_full_version_hash}.tar.gz @@ -98,7 +98,7 @@ cp -a %{SOURCE999} . # copy libphutil to the buildroot mkdir -p %{buildroot}%{_datadir}/%{name} -cp -a scripts/ src/ %{buildroot}%{_datadir}/%{name}/. +cp -a resources/ scripts/ src/ %{buildroot}%{_datadir}/%{name}/ find %{buildroot}%{_datadir}/%{name}/ -type d -name test -exec rm -rvf {} \; 2>/dev/null || : find %{buildroot}%{_datadir}/%{name}/ -type d -name __tests__ -exec rm -rvf {} \; 2>/dev/null || : @@ -113,6 +113,7 @@ find %{buildroot}%{_datadir}/%{name}/ -type f -exec sed -i -r -e 's"^#!(.*)/usr/ %doc README.md %doc NOTICE %dir %{_datadir}/%{name} +%{_datadir}/%{name}/resources %{_datadir}/%{name}/scripts %{_datadir}/%{name}/src @@ -120,6 +121,9 @@ find %{buildroot}%{_datadir}/%{name}/ -type f -exec sed -i -r -e 's"^#!(.*)/usr/ %doc README.phabricator %changelog +* Tue Oct 22 2019 Ling Li - 1:0.20190308.git833574d-2 +- Add resources/ + * Fri Mar 15 2019 Jeroen van Meeuwen (Kolab Systems) - 1:0.20190308.git833574d-1 - Promote Week #10 2019