Fridrich Strba 2022-02-22 20:47:11 +00:00 committed by Git OBS Bridge
parent a2b0987953
commit b0b29499b7
9 changed files with 42 additions and 12 deletions

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/qos-ch/slf4j.git</param>
<param name="revision">v_1.7.32</param>
<param name="match-tag">v_*</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v_(.*)</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:748214c48efa50088936dd57575a72555dde17bf79f0b24240e5e62605e7d9c6
size 9405

3
build.xml.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a4b31b1488ed43e9239545ea99b6ed9ada625133cf767828afd8f3247680ea7
size 7880

3
slf4j-1.7.32.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3394567be9f31307d69e4d41a62e8be48f8c080ed9ae8ec6911515fe64ab948b
size 2022484

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 22 20:45:12 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Fetch sources using source service
- Depend for build on reload4j
- Fix dependencies of the module slf4j-log4j12
-------------------------------------------------------------------
Tue Feb 22 09:50:47 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -26,7 +26,7 @@ Summary: SLF4J Source JARs
License: Apache-2.0 AND MIT
Group: Development/Libraries/Java
URL: https://www.slf4j.org/
Source0: https://github.com/qos-ch/%{base_name}/archive/v_%{version}.tar.gz
Source0: %{base_name}-%{version}.tar.xz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch2: slf4j-commons-lang3.patch
Patch3: slf4j-reload4j.patch
@ -37,7 +37,7 @@ BuildArch: noarch
SLF4J Source JARs.
%prep
%setup -q -n %{base_name}-v_%{version}
%setup -q -n %{base_name}-%{version}
%patch2 -p1
%patch3 -p1
find . -name "*.jar" | xargs rm

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 22 20:45:12 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Fetch sources using source service
- Depend for build on reload4j
- Fix dependencies of the module slf4j-log4j12
-------------------------------------------------------------------
Tue Feb 22 09:50:47 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -25,9 +25,9 @@ Summary: Simple Logging Facade for Java
License: Apache-2.0 AND MIT
Group: Development/Libraries/Java
URL: https://www.slf4j.org/
Source0: https://github.com/qos-ch/%{name}/archive/v_%{version}.tar.gz
Source0: %{name}-%{version}.tar.xz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Source2: build.xml.tar.bz2
Source2: build.xml.tar.xz
Patch1: build-remove-slf4j_api-binder.patch
Patch2: slf4j-commons-lang3.patch
Patch3: slf4j-reload4j.patch
@ -41,7 +41,7 @@ BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: javassist >= 3.4
BuildRequires: junit >= 3.8.2
BuildRequires: log4j12-mini
BuildRequires: reload4j
Requires: cal10n
Requires: java
# this is ugly hack, which creates package which requires the same,
@ -86,6 +86,7 @@ SLF4J JDK14 Binding.
%package log4j12
Summary: SLF4J LOG4J-12 Binding
Group: Development/Libraries/Java
Requires: mvn(log4j:log4j)
Requires: mvn(org.slf4j:slf4j-api) = %{version}
%description log4j12
@ -133,7 +134,7 @@ Requires: mvn(org.slf4j:slf4j-api) = %{version}
JUL to SLF4J bridge.
%prep
%setup -q -n %{name}-v_%{version} -a2
%setup -q -n %{name}-%{version} -a2
%patch1 -p1
%patch2 -p1
%patch3 -p1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c5d99d1fbd06ad33fcbe732c3696606262d129375ea0e788ee88514eac24389
size 2277207