introduce license macro

This commit is contained in:
gil 2015-02-11 20:48:53 +01:00
parent 4668bebc86
commit a7fd07adb3

View File

@ -1,6 +1,6 @@
Name: replacer Name: replacer
Version: 1.5.3 Version: 1.5.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Replacer Maven Mojo Summary: Replacer Maven Mojo
License: MIT License: MIT
URL: http://code.google.com/p/maven-replacer-plugin/ URL: http://code.google.com/p/maven-replacer-plugin/
@ -11,11 +11,7 @@ BuildRequires: mvn(commons-io:commons-io)
BuildRequires: mvn(commons-lang:commons-lang) BuildRequires: mvn(commons-lang:commons-lang)
BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-plugin-api)
%if %{?fedora} > 20
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%else
BuildRequires: mvn(org.sonatype.oss:oss-parent)
%endif
BuildRequires: mvn(xerces:xercesImpl) BuildRequires: mvn(xerces:xercesImpl)
# test deps # test deps
@ -62,12 +58,15 @@ sed -i 's/\r//' LICENSE.txt
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%doc LICENSE.txt %license LICENSE.txt
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%doc LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Wed Feb 11 2015 gil cattaneo <puntogil@libero.it> 1.5.3-2
- introduce license macro
* Thu Jul 03 2014 gil cattaneo <puntogil@libero.it> 1.5.3-1 * Thu Jul 03 2014 gil cattaneo <puntogil@libero.it> 1.5.3-1
- update to 1.5.3 - update to 1.5.3