Update to current packaging guidelines

This commit is contained in:
Mikolaj Izdebski 2013-04-15 10:41:49 +02:00
parent fb8631ddef
commit 1b2972656f

View File

@ -3,20 +3,17 @@
Name: apache-%{short_name} Name: apache-%{short_name}
Version: 2.4 Version: 2.4
Release: 7%{?dist} Release: 8%{?dist}
Epoch: 1 Epoch: 1
Summary: Utilities to assist with developing IO functionality Summary: Utilities to assist with developing IO functionality
License: ASL 2.0 License: ASL 2.0
Group: Development/Libraries
URL: http://commons.apache.org/%{base_name} URL: http://commons.apache.org/%{base_name}
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: java-devel >= 1:1.6 BuildRequires: java-devel >= 1:1.6
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: javapackages-tools >= 0.10.0
BuildRequires: apache-commons-parent BuildRequires: apache-commons-parent
BuildRequires: maven-surefire-provider-junit
Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release} Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{epoch}:%{version}-%{release} Obsoletes: jakarta-%{short_name} < %{epoch}:%{version}-%{release}
@ -28,7 +25,6 @@ to assist with developing IO functionality.
%package javadoc %package javadoc
Summary: API documentation for %{name} Summary: API documentation for %{name}
Group: Documentation
Provides: jakarta-%{short_name}-javadoc = %{epoch}:%{version}-%{release} Provides: jakarta-%{short_name}-javadoc = %{epoch}:%{version}-%{release}
Obsoletes: jakarta-%{short_name}-javadoc < %{epoch}:%{version}-%{release} Obsoletes: jakarta-%{short_name}-javadoc < %{epoch}:%{version}-%{release}
@ -54,6 +50,9 @@ sed -i 's/\r//' *.txt
%doc LICENSE.txt NOTICE.txt %doc LICENSE.txt NOTICE.txt
%changelog %changelog
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.4-8
- Update to current packaging guidelines
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-7 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild