Remove docs, which were split into java-packaging-howto
This commit is contained in:
parent
0d7c99a5ea
commit
777532a4f4
42
0001-Don-t-build-and-install-docs.patch
Normal file
42
0001-Don-t-build-and-install-docs.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
From 53ea1889544af0d25b525816eb498a70961e73aa Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Simacek <msimacek@redhat.com>
|
||||||
|
Date: Tue, 6 Sep 2016 12:10:03 +0200
|
||||||
|
Subject: [PATCH] Don't build and install docs
|
||||||
|
|
||||||
|
---
|
||||||
|
build | 2 --
|
||||||
|
install | 7 -------
|
||||||
|
2 files changed, 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/build b/build
|
||||||
|
index c2ba01a..af3576d 100755
|
||||||
|
--- a/build
|
||||||
|
+++ b/build
|
||||||
|
@@ -122,6 +122,4 @@ manpage build-jar-repository
|
||||||
|
manpage rebuild-jar-repository
|
||||||
|
manpage shade-jar
|
||||||
|
|
||||||
|
-make -C doc clean all
|
||||||
|
-
|
||||||
|
(cd ./python && "${pyinterpreter}" setup.py build)
|
||||||
|
diff --git a/install b/install
|
||||||
|
index bd0a94f..2201038 100755
|
||||||
|
--- a/install
|
||||||
|
+++ b/install
|
||||||
|
@@ -208,13 +208,6 @@ inst_exec target/gradle-local "${bindir}"
|
||||||
|
inst_data gradle/init.gradle "${datadir}/gradle-local"
|
||||||
|
inst_data target/gradle_build.7 "${mandir}/man7"
|
||||||
|
|
||||||
|
-exec >files-doc
|
||||||
|
-inst_doc doc/index.html
|
||||||
|
-inst_doc doc/images
|
||||||
|
-inst_doc doc/rpm_project
|
||||||
|
-inst_doc doc/ideas
|
||||||
|
-inst_doc doc/java_project
|
||||||
|
-
|
||||||
|
exec >files-python
|
||||||
|
(cd ./python && "${pyinterpreter}" setup.py install -O1 --skip-build --prefix "${prefix}" --root "${DEST}") >&2
|
||||||
|
echo "${prefix}/lib/python?.?/site-packages/javapackages"
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: javapackages-tools
|
Name: javapackages-tools
|
||||||
Version: 4.7.0
|
Version: 4.7.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
Summary: Macros and scripts for Java packaging support
|
Summary: Macros and scripts for Java packaging support
|
||||||
|
|
||||||
@ -17,6 +17,8 @@ License: BSD
|
|||||||
URL: https://git.fedorahosted.org/git/javapackages.git
|
URL: https://git.fedorahosted.org/git/javapackages.git
|
||||||
Source0: https://fedorahosted.org/released/javapackages/javapackages-%{version}.tar.xz
|
Source0: https://fedorahosted.org/released/javapackages/javapackages-%{version}.tar.xz
|
||||||
|
|
||||||
|
Patch0: 0001-Don-t-build-and-install-docs.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -103,12 +105,6 @@ Obsoletes: python-javapackages < %{version}-%{release}
|
|||||||
Module for handling, querying and manipulating of various files for Java
|
Module for handling, querying and manipulating of various files for Java
|
||||||
packaging in Linux distributions
|
packaging in Linux distributions
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Guide for Java packaging
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
User guide for Java packaging and using utilities from javapackages-tools
|
|
||||||
|
|
||||||
%package -n javapackages-local
|
%package -n javapackages-local
|
||||||
Summary: Non-essential macros and scripts for Java packaging support
|
Summary: Non-essential macros and scripts for Java packaging support
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -124,7 +120,7 @@ This package provides non-essential macros and scripts to support Java packaging
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n javapackages-%{version}
|
%setup -q -n javapackages-%{version}
|
||||||
|
|
||||||
sed -i '/fedora-review/d' install
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --pyinterpreter=%{__python3}
|
%configure --pyinterpreter=%{__python3}
|
||||||
@ -157,10 +153,10 @@ popd
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/javapackages*
|
%{python3_sitelib}/javapackages*
|
||||||
|
|
||||||
%files doc -f files-doc
|
|
||||||
%license LICENSE
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 06 2016 Michael Simacek <msimacek@redhat.com> - 4.7.0-7
|
||||||
|
- Remove docs, which were split into java-packaging-howto
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.0-6
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.0-6
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user