Install LICENSE file
This commit is contained in:
parent
7af273ba12
commit
816520ee63
0
.gitignore
vendored
0
.gitignore
vendored
@ -2,13 +2,14 @@
|
||||
|
||||
Name: %{short_name}-pom
|
||||
Version: 1.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Plexus Components POM
|
||||
BuildArch: noarch
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: http://plexus.codehaus.org/%{short_name}
|
||||
Source: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
|
||||
Source0: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: maven
|
||||
@ -21,6 +22,7 @@ Plexus packages.
|
||||
|
||||
%prep
|
||||
cp -p %{SOURCE0} pom.xml
|
||||
cp -p %{SOURCE1} LICENSE
|
||||
|
||||
%check
|
||||
mvn-rpmbuild verify
|
||||
@ -31,9 +33,13 @@ install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
|
||||
%files
|
||||
%doc LICENSE
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Nov 12 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-2
|
||||
- Install LICENSE file
|
||||
|
||||
* Wed Oct 31 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-1
|
||||
- Initial packaging
|
||||
|
||||
Loading…
Reference in New Issue
Block a user