From ff48a211caf40613d3764f564b11c1d1e3bfd2be Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Tue, 26 Oct 2021 08:43:53 +0200 Subject: [PATCH] Revert "No longer used" This reverts commit 1616e39dd1ba1dd6c986f77f85524c00fc5933de. Unretirement request: https://pagure.io/releng/issue/10356 Signed-off-by: Tomas Hrcka --- .gitignore | 1 + dead.package | 1 - jaxb-dtd-parser.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 jaxb-dtd-parser.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b08530 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/jaxb-dtd-parser-1.4.3.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 8114387..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -No longer used diff --git a/jaxb-dtd-parser.spec b/jaxb-dtd-parser.spec new file mode 100644 index 0000000..059572c --- /dev/null +++ b/jaxb-dtd-parser.spec @@ -0,0 +1,80 @@ +Name: jaxb-dtd-parser +Version: 1.4.3 +Release: 5%{?dist} +Summary: SAX-like API for parsing XML DTDs +License: BSD + +URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +Obsoletes: glassfish-dtd-parser < 1.4.3-1 +Provides: glassfish-dtd-parser = %{version}-%{release} + +%description +SAX-like API for parsing XML DTDs. + + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + + +%prep +%setup -q + +pushd dtd-parser +# remove unnecessary dependency on parent POM +# org.eclipse.ee4j:project is not packaged and isn't needed +%pom_remove_parent + +# remove unnecessary plugins +%pom_remove_plugin :buildnumber-maven-plugin +%pom_remove_plugin :glassfish-copyright-maven-plugin + +popd + + +%build +pushd dtd-parser +%mvn_build +popd + + +%install +pushd dtd-parser +%mvn_install +popd + + +%files -f dtd-parser/.mfiles +%license LICENSE.md NOTICE.md +%doc README.md + +%files javadoc -f dtd-parser/.mfiles-javadoc +%license LICENSE.md NOTICE.md + + +%changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.4.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.4.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Aug 10 2020 Mat Booth - 1.4.3-3 +- Restore JDK 9+ bits for Jaxb + +* Tue Jul 28 2020 Fedora Release Engineering - 1.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri May 08 2020 Fabio Valentini - 1.4.3-1 +- Initial package renamed from glassfish-dtd-parser. + diff --git a/sources b/sources new file mode 100644 index 0000000..7c912f0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (jaxb-dtd-parser-1.4.3.tar.gz) = deb207bbea9f5dbf427dd02900474b5672ce1293a3323b60ebeb58c61af9b3fffef3b893c09ebc79a348f388667fdf9623ba779da57b69beb23ee9b991595330