Remove conditional for EOL Fedora

This commit is contained in:
Michael Simacek 2017-02-16 14:22:30 +01:00
parent b4e5538101
commit 3b209de564

View File

@ -1,6 +1,6 @@
Name: mockito
Version: 1.10.19
Release: 11%{?dist}
Release: 12%{?dist}
Summary: A Java mocking framework
License: MIT
@ -62,16 +62,10 @@ ant jar javadoc
# Convert to OSGi bundle
pushd target
%if 0%{?fedora} >= 23
bnd wrap \
--version %{version} \
--output %{name}-core-%{version}.bar \
--properties ../conf/%{name}-core.bnd \
%else
java -jar $(build-classpath aqute-bnd) wrap \
-output %{name}-core-%{version}.bar \
-properties ../conf/%{name}-core.bnd \
%endif
%{name}-core-%{version}.jar
mv %{name}-core-%{version}.bar %{name}-core-%{version}.jar
@ -95,6 +89,9 @@ sed -i -e "s|@version@|%{version}|g" maven/%{name}-core.pom
%license LICENSE NOTICE
%changelog
* Thu Feb 16 2017 Michael Simacek <msimacek@redhat.com> - 1.10.19-12
- Remove conditional for EOL Fedora
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.19-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild