https://bugzilla.redhat.com/show_bug.cgi?id=1247243



--- Comment #28 from Michal Karm Babacek <[email protected]> ---
Hi Gil, thank you for the file, it's so much cleaner with the pom macros.

I used it almost without changes, but my local, scratch and smoke test failed,
so I did several additional changes. I hope they are cool.

Current state: https://github.com/Karm/mod_cluster-fedora-packages/

Summary of changes:

 - removed buildarch due to: RPM build errors: Arch dependent binaries in
noarch package

 - version classifier .Final is part of version now, we don't need to use it
separately, it's always part of the version

 - we need tomcat-lib for build, so I added mvn(..) macros that lead to
tomcat-lib dependency rather than directly requiring tomcat just for build


Smoke-tested
============

Wildfly starts with mod_cluster from the 
mod_cluster-java-1.3.3.Final-2.fc24.x86_64.rpm, so it doesn't need tomcat 8
stuff, and that is good.

>21:32:09,263 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 59) 
>MODCLUSTER000001: Initializing mod_cluster version 1.3.3.Final
>21:32:09,287 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 59) 
>MODCLUSTER000032: Listening to proxy advertisements on /224.0.1.105:23364

Tomcat 8 starts correctly:

>29-Aug-2016 21:35:36.221 INFO [main] 
>org.jboss.modcluster.ModClusterService.init MODCLUSTER000001: Initializing 
>mod_cluster version 1.3.3.Final
>29-Aug-2016 21:35:36.242 INFO [main] 
>org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.start 
>MODCLUSTER000032: Listening to proxy advertisements on /224.0.1.105:23364

Apache HTTP Server loads modules and starts advertising:

>[Mon Aug 29 21:36:54.575797 2016] [mpm_prefork:notice] [pid 3861] AH00163: 
>Apache/2.4.23 (Fedora) OpenSSL/1.0.2h-fips mod_cluster/1.3.3.Final configured 
>-- resuming normal operations


Successful f23, f24, f25 scratch builds
=======================================
f23 http://koji.fedoraproject.org/koji/taskinfo?taskID=15430973
f24 http://koji.fedoraproject.org/koji/taskinfo?taskID=15430968
f25 http://koji.fedoraproject.org/koji/taskinfo?taskID=15430970


So, I'll push it to the Fedora repo :-)  WDYT?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to