[smooks/f19] Clean up BuildRequires
by Gerard Ryan
commit 217b5b20d6968d82cf15c4d9de361b7343bd8dfc
Author: Gerard Ryan <gerard(a)ryan.lt>
Date: Thu Aug 1 21:19:04 2013 +0100
Clean up BuildRequires
smooks.spec | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/smooks.spec b/smooks.spec
index ee8c8e3..11bbf5e 100644
--- a/smooks.spec
+++ b/smooks.spec
@@ -3,7 +3,7 @@
Name: smooks
Version: 1.5.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Smooks Framework
Group: Development/Libraries
@@ -16,19 +16,25 @@ Patch0: %{name}-non-utf8-char.patch
BuildArch: noarch
BuildRequires: maven-local
+BuildRequires: mvn(jaxen:jaxen)
BuildRequires: mvn(org.mvel:mvel2)
BuildRequires: mvn(hsqldb:hsqldb:1)
+BuildRequires: mvn(org.yaml:snakeyaml)
+BuildRequires: mvn(javassist:javassist)
BuildRequires: mvn(com.wutka:dtdparser)
BuildRequires: mvn(javax.transaction:jta)
BuildRequires: mvn(net.sf.opencsv:opencsv)
BuildRequires: mvn(javax.xml.bind:jaxb-api)
-BuildRequires: mvn(org.mockito:mockito-all)
BuildRequires: mvn(commons-lang:commons-lang)
BuildRequires: mvn(org.freemarker:freemarker)
-BuildRequires: mvn(org.hibernate:hibernate-core)
+BuildRequires: mvn(org.codehaus:codehaus-parent)
BuildRequires: mvn(commons-logging:commons-logging)
-BuildRequires: mvn(javax.persistence:persistence-api)
+BuildRequires: mvn(com.thoughtworks.xstream:xstream)
BuildRequires: mvn(org.codehaus.jackson:jackson-core-asl)
+BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-surefire-plugin)
%description
Smooks is an extensible framework for building applications for
10 years, 8 months
[Bug 796338] New: Not compatible with JDK7
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Not compatible with JDK7
https://bugzilla.redhat.com/show_bug.cgi?id=796338
Summary: Not compatible with JDK7
Product: Fedora
Version: 17
Platform: All
OS/Version: All
Status: NEW
Severity: high
Priority: unspecified
Component: maven-changelog-plugin
AssignedTo: huwang(a)redhat.com
ReportedBy: jvanek(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: huwang(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
After mass rebuild for openjdk7 this package was not build due to java
incompatibility. See
https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status for details.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
10 years, 8 months
[Bug 797928] New: jetty-8.1.0-4.fc17.noarch causes SELinux AVCs, won't start in enforcing mode
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: jetty-8.1.0-4.fc17.noarch causes SELinux AVCs, won't start in enforcing mode
https://bugzilla.redhat.com/show_bug.cgi?id=797928
Summary: jetty-8.1.0-4.fc17.noarch causes SELinux AVCs, won't
start in enforcing mode
Product: Fedora
Version: 17
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: unspecified
Priority: unspecified
Component: jetty
AssignedTo: sochotni(a)redhat.com
ReportedBy: selinux(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: overholt(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
jetty-8.1.0-4.fc17.noarch won't start in enforcing mode: it spews SELinux AVCs:
#============= initrc_t ==============
allow initrc_t http_cache_port_t:tcp_socket name_bind;
allow initrc_t hugetlbfs_t:file read;
allow initrc_t self:process execmem;
Appears that /usr/share/jetty/bin/jetty.sh exec's Java while running under
systemd's SELinux context ('initrc_t').
Shouldn't jetty/java transition to a different context (e.g., httpd_t, or a new
'jetty_t')? If so, probably need to add something so it can access
/var/log/jetty.
Here are the actual AVCs from /var/log/audit/audit.log when I booted with
'enforcing=0':
type=SERVICE_START msg=audit(1330353641.267:29): pid=0 uid=0 auid=4294967295
ses=4294967295 subj=system_u:system_r:init_t:s0 msg=': comm="jetty"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
type=AVC msg=audit(1330353642.590:31): avc: denied { read } for pid=747
comm="java" path=2F616E6F6E5F6875676570616765202864656C6574656429
dev="hugetlbfs" ino=17376 scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:object_r:hugetlbfs_t:s0 tclass=file
type=SYSCALL msg=audit(1330353642.590:31): arch=c000003e syscall=9 success=no
exit=-12 a0=0 a1=200000 a2=3 a3=40022 items=0 ppid=1 pid=747 auid=4294967295
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none)
ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=AVC msg=audit(1330353643.581:33): avc: denied { execmem } for pid=747
comm="java" scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:system_r:initrc_t:s0 tclass=process
type=SYSCALL msg=audit(1330353643.581:33): arch=c000003e syscall=9 success=yes
exit=140008165998592 a0=7f5631000000 a1=270000 a2=7 a3=32 items=0 ppid=1
pid=747 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=AVC msg=audit(1330353671.705:53): avc: denied { name_bind } for pid=747
comm="java" src=8080 scontext=system_u:system_r:initrc_t:s0
tcontext=system_u:object_r:http_cache_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1330353671.705:53): arch=c000003e syscall=49 success=yes
exit=0 a0=39 a1=7f563a0c74c0 a2=1c a3=7f563a0c7230 items=0 ppid=1 pid=747
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="java"
exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java"
subj=system_u:system_r:initrc_t:s0 key=(null)
type=SOCKADDR msg=audit(1330353671.705:53):
saddr=0A001F90000000000000000000000000000000000000000000000000
Version-Release number of selected component (if applicable):
jetty-8.1.0-4.fc17.noarch
selinux-policy-3.10.0-93.fc17.noarch
How reproducible:
Every boot
Steps to Reproduce:
1. install jetty
2. boot
3.
Actual results:
Expected results:
Additional info:
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
10 years, 8 months
[smooks/f19] (6 commits) ...Merge branch 'review-request'
by Gerard Ryan
Summary of changes:
c63e423... Use more up-to-date URL (*)
3cb55c4... RHBZ-989266: Fix hsqldb version; add BR's (*)
95d841a... Remove milyn-smooks-camel subpackage (*)
db3981d... Remove bundled library and dependent subpackages (*)
c4854b5... Add ASL 2.0 license and text (*)
3c2ee6a... Merge branch 'review-request' (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 8 months
[smooks: 6/6] Merge branch 'review-request'
by Gerard Ryan
commit 3c2ee6ae9a973104f58165dca98771a6579c38c6
Merge: 972aa13 c4854b5
Author: Gerard Ryan <gerard(a)ryan.lt>
Date: Thu Aug 1 19:02:33 2013 +0100
Merge branch 'review-request'
smooks.spec | 97 ++++++++++++++++++++++++----------------------------------
1 files changed, 40 insertions(+), 57 deletions(-)
---
10 years, 8 months
[smooks: 5/6] Add ASL 2.0 license and text
by Gerard Ryan
commit c4854b544124610c501a1898c774e83ccf780f08
Author: Gerard Ryan <gerard(a)ryan.lt>
Date: Wed Jul 31 23:10:41 2013 +0100
Add ASL 2.0 license and text
smooks.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/smooks.spec b/smooks.spec
index 0ea225e..ee8c8e3 100644
--- a/smooks.spec
+++ b/smooks.spec
@@ -7,9 +7,10 @@ Release: 3%{?dist}
Summary: Smooks Framework
Group: Development/Libraries
-License: LGPLv2+
+License: LGPLv2+ and ASL 2.0
URL: http://www.%{name}.org/
Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%...
+Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch0: %{name}-non-utf8-char.patch
BuildArch: noarch
@@ -143,6 +144,7 @@ Summary: Milyn Edisax Parser
%prep
%setup -qn %{name}-%{commit}
+cp %{SOURCE1} .
find -name '*.jar' -delete
find -name '*.class' -delete
@@ -194,8 +196,11 @@ rm -rf commons/src/main/java/org/milyn/annotation/
#files -f .mfiles
%files javadoc -f .mfiles-javadoc
+%doc LICENSE-2.0.txt
%files -n milyn -f .mfiles-milyn
+%doc LICENSE-2.0.txt
%files -n milyn-commons -f .mfiles-milyn-commons
+%doc LICENSE-2.0.txt
%files -n milyn-smooks-core -f .mfiles-milyn-smooks-core
%files -n smooks-cartridge-base-pom -f .mfiles-smooks-cartridge-base-pom
%files -n milyn-%{name}-javabean -f .mfiles-milyn-%{name}-javabean
@@ -212,8 +217,9 @@ rm -rf commons/src/main/java/org/milyn/annotation/
%files -n milyn-edisax-parser -f .mfiles-milyn-edisax-parser
%changelog
-* Tue Jul 30 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-3
+* Wed Jul 31 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-3
- Remove bundled library and dependent subpackages
+- Add ASL 2.0 license and text
* Tue Jul 30 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-2
- RHBZ-989266: Fix hsqldb version; add BR's
10 years, 8 months
[smooks: 4/6] Remove bundled library and dependent subpackages
by Gerard Ryan
commit db3981dfde25a23d8c44a7db70f3e993fe1cb6ce
Author: Gerard Ryan <gerard(a)ryan.lt>
Date: Wed Jul 31 23:03:40 2013 +0100
Remove bundled library and dependent subpackages
smooks.spec | 53 +++++++++--------------------------------------------
1 files changed, 9 insertions(+), 44 deletions(-)
---
diff --git a/smooks.spec b/smooks.spec
index b2aa99b..0ea225e 100644
--- a/smooks.spec
+++ b/smooks.spec
@@ -3,7 +3,7 @@
Name: smooks
Version: 1.5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Smooks Framework
Group: Development/Libraries
@@ -63,36 +63,6 @@ collaboration i.e. it allows you mix technologies within the scope
of a single message transformation.
Smooks can also be used simply as an XML analysis tool.
-%package -n milyn-scribe
-Summary: Milyn Scribe
-
-%description -n milyn-scribe
-Base POM for %{summary}.
-
-%package -n milyn-scribe-core
-Summary: Milyn Scribe core
-
-%description -n milyn-scribe-core
-%{summary}.
-
-%package -n milyn-scribe-adapter
-Summary: Milyn Scribe Adapter
-
-%description -n milyn-scribe-adapter
-Base POM for %{summary}.
-
-%package -n milyn-scribe-jpa
-Summary: Milyn Scribe JPA adapter
-
-%description -n milyn-scribe-jpa
-%{summary}.
-
-%package -n milyn-scribe-hibernate
-Summary: Milyn Scribe Hibernate adapter
-
-%description -n milyn-scribe-hibernate
-%{summary}.
-
%package -n %{name}-cartridge-base-pom
Summary: Base POM for Milyn Smooks Cartridges
@@ -178,6 +148,7 @@ find -name '*.jar' -delete
find -name '*.class' -delete
%pom_disable_module edi
+%pom_disable_module scribe
%pom_disable_module testres
%pom_disable_module %{name}-examples
@@ -191,22 +162,15 @@ find -name '*.class' -delete
%pom_disable_module edi/ejc/maven-ejc-plugin
%pom_disable_module edi/edi-test
-# Needs mvn(org.apache.ibatis:ibatis-sqlmap)
-%pom_disable_module ibatis scribe/adapter
-%pom_disable_module persistence %{name}-cartridges
-
# Needs mvn(org.codehaus.groovy:groovy-all)
%pom_disable_module scripting %{name}-cartridges
+%pom_disable_module persistence %{name}-cartridges
# Needs mvn(antlr:stringtemplate)
%pom_disable_module templating %{name}-cartridges
%pom_disable_module routing %{name}-cartridges
%pom_disable_module camel %{name}-cartridges
-%pom_remove_dep mockobjects:mockobjects-core testres
-%pom_remove_dep mockobjects:mockobjects-jdk1.4 testres
-%pom_remove_dep mockobjects:mockobjects-j1.4-j2ee1.3 testres
-
%pom_remove_dep dtdparser:dtdparser smooks-core
%pom_add_dep com.wutka:dtdparser smooks-core
@@ -216,6 +180,9 @@ find -name '*.class' -delete
%pom_remove_dep org.codehaus.jackson:jackson-core-lgpl smooks-cartridges/json
%pom_add_dep org.codehaus.jackson:jackson-core-asl smooks-cartridges/json
+# Remove bundled library
+rm -rf commons/src/main/java/org/milyn/annotation/
+
%patch0
%build
@@ -230,11 +197,6 @@ find -name '*.class' -delete
%files -n milyn -f .mfiles-milyn
%files -n milyn-commons -f .mfiles-milyn-commons
%files -n milyn-smooks-core -f .mfiles-milyn-smooks-core
-%files -n milyn-scribe -f .mfiles-milyn-scribe
-%files -n milyn-scribe-core -f .mfiles-milyn-scribe-core
-%files -n milyn-scribe-adapter -f .mfiles-milyn-scribe-adapter
-%files -n milyn-scribe-hibernate -f .mfiles-milyn-scribe-hibernate
-%files -n milyn-scribe-jpa -f .mfiles-milyn-scribe-jpa
%files -n smooks-cartridge-base-pom -f .mfiles-smooks-cartridge-base-pom
%files -n milyn-%{name}-javabean -f .mfiles-milyn-%{name}-javabean
%files -n milyn-%{name}-flatfile -f .mfiles-milyn-%{name}-flatfile
@@ -250,6 +212,9 @@ find -name '*.class' -delete
%files -n milyn-edisax-parser -f .mfiles-milyn-edisax-parser
%changelog
+* Tue Jul 30 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-3
+- Remove bundled library and dependent subpackages
+
* Tue Jul 30 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-2
- RHBZ-989266: Fix hsqldb version; add BR's
- Remove milyn-smooks-camel subpackage
10 years, 8 months
[smooks: 3/6] Remove milyn-smooks-camel subpackage
by Gerard Ryan
commit 95d841a1cfaf973b894164442f19633f16bb2d21
Author: Gerard Ryan <gerard(a)ryan.lt>
Date: Tue Jul 30 22:20:24 2013 +0100
Remove milyn-smooks-camel subpackage
smooks.spec | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/smooks.spec b/smooks.spec
index cbea907..b2aa99b 100644
--- a/smooks.spec
+++ b/smooks.spec
@@ -165,12 +165,6 @@ Summary: Milyn Smooks Cartridge - YAML
%description -n milyn-%{name}-yaml
%{summary}.
-%package -n milyn-%{name}-camel
-Summary: Milyn Smooks Cartridge - Camel
-
-%description -n milyn-%{name}-camel
-%{summary}.
-
%package -n milyn-edisax-parser
Summary: Milyn Edisax Parser
@@ -207,6 +201,7 @@ find -name '*.class' -delete
# Needs mvn(antlr:stringtemplate)
%pom_disable_module templating %{name}-cartridges
%pom_disable_module routing %{name}-cartridges
+%pom_disable_module camel %{name}-cartridges
%pom_remove_dep mockobjects:mockobjects-core testres
%pom_remove_dep mockobjects:mockobjects-jdk1.4 testres
@@ -252,12 +247,12 @@ find -name '*.class' -delete
%files -n milyn-%{name}-validation -f .mfiles-milyn-%{name}-validation
%files -n milyn-%{name}-fixed-length -f .mfiles-milyn-%{name}-fixed-length
%files -n milyn-%{name}-yaml -f .mfiles-milyn-%{name}-yaml
-%files -n milyn-%{name}-camel -f .mfiles-milyn-%{name}-camel
%files -n milyn-edisax-parser -f .mfiles-milyn-edisax-parser
%changelog
* Tue Jul 30 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-2
- RHBZ-989266: Fix hsqldb version; add BR's
+- Remove milyn-smooks-camel subpackage
* Sat Jul 27 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-1
- Initial package.
10 years, 8 months
[smooks: 2/6] RHBZ-989266: Fix hsqldb version; add BR's
by Gerard Ryan
commit 3cb55c4dc6aa7b4d0335a56fd3b785be7c256e91
Author: Gerard Ryan <gerard(a)ryan.lt>
Date: Tue Jul 30 22:07:03 2013 +0100
RHBZ-989266: Fix hsqldb version; add BR's
smooks.spec | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/smooks.spec b/smooks.spec
index bd39391..cbea907 100644
--- a/smooks.spec
+++ b/smooks.spec
@@ -3,7 +3,7 @@
Name: smooks
Version: 1.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Smooks Framework
Group: Development/Libraries
@@ -15,10 +15,19 @@ Patch0: %{name}-non-utf8-char.patch
BuildArch: noarch
BuildRequires: maven-local
+BuildRequires: mvn(org.mvel:mvel2)
+BuildRequires: mvn(hsqldb:hsqldb:1)
+BuildRequires: mvn(com.wutka:dtdparser)
+BuildRequires: mvn(javax.transaction:jta)
+BuildRequires: mvn(net.sf.opencsv:opencsv)
+BuildRequires: mvn(javax.xml.bind:jaxb-api)
+BuildRequires: mvn(org.mockito:mockito-all)
BuildRequires: mvn(commons-lang:commons-lang)
+BuildRequires: mvn(org.freemarker:freemarker)
+BuildRequires: mvn(org.hibernate:hibernate-core)
BuildRequires: mvn(commons-logging:commons-logging)
-BuildRequires: mvn(org.mockito:mockito-all)
-BuildRequires: mvn(com.wutka:dtdparser)
+BuildRequires: mvn(javax.persistence:persistence-api)
+BuildRequires: mvn(org.codehaus.jackson:jackson-core-asl)
%description
Smooks is an extensible framework for building applications for
@@ -170,10 +179,12 @@ Summary: Milyn Edisax Parser
%prep
%setup -qn %{name}-%{commit}
-find -name \*.jar -o -name \*.class -delete
-%pom_disable_module testres
+find -name '*.jar' -delete
+find -name '*.class' -delete
+
%pom_disable_module edi
+%pom_disable_module testres
%pom_disable_module %{name}-examples
# Needs mvn(org.ow2.bundles:ow2-bundles-externals-opencsv)
@@ -204,6 +215,9 @@ find -name \*.jar -o -name \*.class -delete
%pom_remove_dep dtdparser:dtdparser smooks-core
%pom_add_dep com.wutka:dtdparser smooks-core
+%pom_remove_dep hsqldb:hsqldb commons
+%pom_add_dep hsqldb:hsqldb:1 commons
+
%pom_remove_dep org.codehaus.jackson:jackson-core-lgpl smooks-cartridges/json
%pom_add_dep org.codehaus.jackson:jackson-core-asl smooks-cartridges/json
@@ -242,5 +256,8 @@ find -name \*.jar -o -name \*.class -delete
%files -n milyn-edisax-parser -f .mfiles-milyn-edisax-parser
%changelog
+* Tue Jul 30 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-2
+- RHBZ-989266: Fix hsqldb version; add BR's
+
* Sat Jul 27 2013 Gerard Ryan <galileo(a)fedoraproject.org> - 1.5.1-1
- Initial package.
10 years, 8 months