Hi Valentin,

The reason we decided to put Brooklyn into /opt/ directory is because there
is no binaries to run, it is a bunch of libraries which by the convention
goes to /opt/. The only issue there might be having /opt/brooklyn/bin dir,
which can be easily removed (it contains only bash scripts to start the
app).

Best Regards,

Aleksandr Vasilev
DevOps Engineer | Cloudsoft Corporation

On 15 April 2016 at 01:23, Valentin Aitken <
[email protected]> wrote:

> Hi all,
>
> I did the first two steps for applying for Fedora's Package Review Process
> <https://fedoraproject.org/wiki/Package_Review_Process>
> Look [2] and [3]. I tested it and works well.
>
> Please review and share your thoughts about [1] and [2] because I think it
> needs discussion.
>
> Main points:
> - changing directory structure to standard /usr folder instead of using
> /opt
> - PR-ing some changes against against brooklyn-dist repo
> - place for publishing the .spec and src.rpm to apply for Apache Brooklyn
> to become Mainstream Fedora Package
>
> Valentin.
>
> [1]
> https://github.com/apache/brooklyn-dist/blob/master/rpm-packaging/pom.xml
> [2] https://github.com/bostko/brooklyn_fedorapkg/blob/master/brooklyn.spec
> [3]
> https://github.com/bostko/brooklyn_fedorapkg/releases/download/0.1/brooklyn-0.9.0-0.src.rpm
>
>
> On 12/04/16 00:46, Valentin Aitken wrote:
>
>> Hi,
>>
>> What do you think about adding Apache Brooklyn to Fedora and from there
>> to Redhat and CentOS?
>>
>> As an opensource project I think it will be good to bring it to more
>> wider audience to the Fedora Community.
>>
>> However before applying, when reading Fedora's Package Review Process <
>> https://fedoraproject.org/wiki/Package_Review_Process> [1],
>> I recognize several build problems:
>> - cannot find a location where the rpm spec file is publicly available.
>> Only rpm available in [2]
>> - there is no srpm publicly available
>> - I think the spec file should be tested outside the rpm-maven-plugin.
>> I tested cd brooklyn-dist/packaging/target/rpm/apache-brooklyn/SPECS;
>> rpmbuild -ba apache-brooklyn.spec
>> and it didn't work
>>
>> For this to happen we have to also maintain a Fedora repo like this [3]
>> but I guess I am not the only one keen on getting this to Fedora
>> community.
>>
>> Valentin.
>>
>> [1] https://fedoraproject.org/wiki/Package_Review_Process
>> [2]
>> https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn-0.9.0-rc2/
>> [3] http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/
>> [4] https://fedoraproject.org/wiki/How_to_create_an_RPM_package
>>
>
>

Reply via email to