Fix conditional macro to evaluate properly when fedora is not defined
This commit is contained in:
parent
baea553650
commit
60456923a2
@ -1,6 +1,6 @@
|
|||||||
Name: javapackages-tools
|
Name: javapackages-tools
|
||||||
Version: 0.13.6
|
Version: 0.13.6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Macros and scripts for Java packaging support
|
Summary: Macros and scripts for Java packaging support
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -86,7 +86,7 @@ ln -sf %{_datadir}/xmvn/configuration-19.xml $RPM_BUILD_ROOT%{_datadir}/xmvn/con
|
|||||||
|
|
||||||
# On Fedora 18 we don't want to install mvn-local and mvn-rpmbuild
|
# On Fedora 18 we don't want to install mvn-local and mvn-rpmbuild
|
||||||
# scripts as they are already provided by maven package.
|
# scripts as they are already provided by maven package.
|
||||||
%if 0%{fedora} == 18
|
%if 0%{?fedora} == 18
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/mvn-{local,rpmbuild}
|
rm -f $RPM_BUILD_ROOT%{_bindir}/mvn-{local,rpmbuild}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -112,6 +112,9 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/mvn-{local,rpmbuild}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 20 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.13.6-2
|
||||||
|
- Fix conditional macro to evaluate properly when fedora is not defined
|
||||||
|
|
||||||
* Mon Mar 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.13.6-1
|
* Mon Mar 18 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.13.6-1
|
||||||
- Update to upstream version 0.13.6
|
- Update to upstream version 0.13.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user