Spec file update

master
Daniel Berteaud 8 years ago
parent 861925abb6
commit 20510a9c59
  1. 6
      smeserver-tt-rss.spec

@ -3,7 +3,8 @@
%define name smeserver-tt-rss
%define version 0.3.0
%define release 0.beta1
%define release 1
%define phpversion 71
Summary: sme server integration of tt-rss
Name: %{name}
Version: %{version}
@ -18,7 +19,7 @@ BuildArchitectures: noarch
BuildRequires: e-smith-devtools
BuildRoot: /var/tmp/%{name}-%{version}
Requires: e-smith-release
Requires: tt-rss >= 20150629
Requires: tt-rss >= 20170713
Requires: smeserver-webapps-common
Requires: smeserver-php-fpm
AutoReqProv: no
@ -104,6 +105,7 @@ Tiny Tiny RSS is a feature rich, web based feed reader
%setup
%build
perl ./createlinks
find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
%{__mkdir_p} root/var/log/tt-rss
%{__mkdir_p} root/var/log/php/tt-rss
%{__mkdir_p} root/var/lib/php/tt-rss/{tmp,wsdlcache,opcache,session}

Loading…
Cancel
Save