Add Provides/Obsoletes for jakarta-commons-codec
This commit is contained in:
parent
2b3783f09d
commit
28e8666ad3
@ -3,7 +3,7 @@
|
||||
|
||||
Name: apache-%{short_name}
|
||||
Version: 1.7
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Implementations of common encoders and decoders
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
@ -34,6 +34,8 @@ Requires: jpackage-utils
|
||||
# It looks like there are packages in F-18 that BR/R the short name
|
||||
Provides: %{short_name} = %{version}-%{release}
|
||||
Obsoletes: %{short_name} < %{version}-%{release}
|
||||
Provides: jakarta-%{short_name} = %{version}-%{release}
|
||||
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
|
||||
|
||||
%description
|
||||
Commons Codec is an attempt to provide definitive implementations of
|
||||
@ -44,6 +46,8 @@ Phonetic and URLs.
|
||||
Summary: API documentation for %{name}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils
|
||||
Provides: jakarta-%{short_name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: jakarta-%{short_name}-javadoc < %{version}-%{release}
|
||||
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
@ -83,6 +87,9 @@ install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Nov 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-2
|
||||
- Add Provides/Obsoletes for jakarta-commons-codec
|
||||
|
||||
* Thu Oct 25 2012 Mat Booth <fedora@matbooth.co.uk> - 1.7-1
|
||||
- Update to 1.7.
|
||||
- Can finally remove the provides/obsoletes on the old jakarta name.
|
||||
|
Loading…
Reference in New Issue
Block a user