Install BOM even when without extensions

This commit is contained in:
Mikolaj Izdebski 2016-01-12 11:09:46 +01:00
parent 5a4f9d4df4
commit 9854fb35fe

View File

@ -6,7 +6,7 @@
Name: google-%{short_name}
Version: 4.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Lightweight dependency injection framework for Java 5 and above
License: ASL 2.0
URL: https://github.com/google/%{short_name}
@ -161,12 +161,12 @@ and above. This package provides ThrowingProviders module for Guice.
%package -n %{short_name}-bom
Summary: Bill of Materials for Guice
%endif # with extensions
%description -n %{short_name}-bom
Guice is a lightweight dependency injection framework for Java 5
and above. This package provides Bill of Materials module for Guice.
%endif # with extensions
%package javadoc
Summary: API documentation for Guice
Provides: %{short_name}-javadoc = %{version}-%{release}
@ -247,14 +247,18 @@ This package provides %{summary}.
%files -n %{short_name}-spring -f .mfiles-guice-spring
%files -n %{short_name}-testlib -f .mfiles-guice-testlib
%files -n %{short_name}-throwingproviders -f .mfiles-guice-throwingproviders
%files -n %{short_name}-bom -f .mfiles-guice-bom
%endif # with extensions
%files -n %{short_name}-bom -f .mfiles-guice-bom
%files javadoc -f .mfiles-javadoc
%doc COPYING
%changelog
* Tue Jan 12 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0-3
- Install BOM even when without extensions
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild