Cleanup spec file

This commit is contained in:
Mikolaj Izdebski 2015-04-21 19:57:31 +02:00
parent 552dcfb855
commit 3201f0118e

View File

@ -1,39 +1,36 @@
Name: plexus-sec-dispatcher Name: plexus-sec-dispatcher
Version: 1.4 Version: 1.4
Release: 18%{?dist} Release: 19%{?dist}
Summary: Plexus Security Dispatcher Component Summary: Plexus Security Dispatcher Component
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/codehaus-plexus/plexus-sec-dispatcher URL: https://github.com/codehaus-plexus/plexus-sec-dispatcher
BuildArch: noarch BuildArch: noarch
#svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/ # svn export http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4/
#tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/ # tar jcf plexus-sec-dispatcher-1.4.tar.bz2 plexus-sec-dispatcher-1.4/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
#Removed maven-compiler-plugin configuration version in the pom as annotations isn't available in version 1.4. # Removed maven-compiler-plugin configuration version in the pom as annotations isn't available in version 1.4.
Patch0: %{name}-pom.patch Patch0: %{name}-pom.patch
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: modello BuildRequires: mvn(junit:junit)
BuildRequires: plexus-utils BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
BuildRequires: plexus-cipher BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
BuildRequires: plexus-containers-component-metadata BuildRequires: mvn(org.codehaus.plexus:plexus-container-default)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
Requires: jpackage-utils BuildRequires: mvn(org.sonatype.plexus:plexus-cipher)
Requires: java-headless BuildRequires: mvn(org.sonatype.spice:spice-parent:pom:)
%description %description
Plexus Security Dispatcher Component Plexus Security Dispatcher Component
%package javadoc %package javadoc
Group: Documentation
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
Requires: jpackage-utils
%description javadoc %description javadoc
API documentation for %{name}. API documentation for %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -50,6 +47,9 @@ API documentation for %{name}.
%files javadoc -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%changelog %changelog
* Tue Apr 21 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-19
- Cleanup spec file
* Wed Apr 1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-18 * Wed Apr 1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-18
- Update upstream URL - Update upstream URL