Remove deprecated() provides

Resolves: rhbz#1977001
This commit is contained in:
Mikolaj Izdebski 2021-06-28 11:43:12 +02:00
parent 721e509873
commit bd75ab66f3
2 changed files with 13 additions and 11 deletions

View File

@ -1,7 +1,7 @@
Name: regexp
Epoch: 1
Version: 1.5
Release: 35%{?dist}
Release: 36%{?dist}
Summary: Simple regular expressions API
License: ASL 2.0
URL: http://jakarta.apache.org/%{name}/
@ -15,7 +15,6 @@ BuildRequires: ant
BuildRequires: javapackages-local
Requires: java-headless
Provides: deprecated()
%description
Regexp is a 100% Pure Java Regular Expression package that was
@ -27,7 +26,6 @@ for visual debugging and testing suite for compatibility.
%package javadoc
Summary: Javadoc for %{name}
Provides: deprecated()
%description javadoc
Javadoc for %{name}.
@ -64,12 +62,6 @@ mkdir lib
%check
%ant -Djakarta-site2.dir=. test
# Workaround for RPM bug #646523 - can't change symlink to directory
# TODO: Remove this in F-23
%pretrans javadoc -p <lua>
dir = "%{_javadocdir}/%{name}"
dummy = posix.readlink(dir) and os.remove(dir)
%files -f .mfiles
%doc LICENSE
@ -77,6 +69,10 @@ dummy = posix.readlink(dir) and os.remove(dir)
%doc LICENSE
%changelog
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-36
- Remove deprecated() provides
- Resolves: rhbz#1977001
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.5-35
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
@ -92,9 +88,15 @@ dummy = posix.readlink(dir) and os.remove(dir)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-28
- Mass rebuild for javapackages-tools 201902
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-27
- Mass rebuild for javapackages-tools 201901
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1,2 +1,2 @@
b941b8f4de297827f3211c2cb34af199 jakarta-regexp-1.5.tar.gz
d7d0510793c9081445fad8903a423f90 jakarta-regexp-1.4.pom
SHA512 (jakarta-regexp-1.5.tar.gz) = 428e5971140dd29246ec41e698813d244efc0e871c69d2d83685d8ae3691f0e20ac44aedad3c59f3c356d24384461de83921e40f0cc4d69c95813f02e8aaba82
SHA512 (jakarta-regexp-1.4.pom) = e5ffe4a13eb4d20f54e339c16e29a22a3cd6b1fdbe6f4c826adf1db9c19b804c491ac103e8927c4a193c7ac788e939739334127306a680d6c5e242ffd4e59980