Skip to content

Commit 20e75a3

Browse files
committed
Bug #27021754 MYSQLTEST MAN PAGES WILL BE REMOVED, PACKAGING MUST BE PREPARED
Followup: now that the man pages have actually been removed, we no longer need to take deliberate action to ignore them. Thus we can remove that part of the original change. RPM: drop the conditional removal DEB: remove from the exclude list
1 parent 2b1fe48 commit 20e75a3

File tree

3 files changed

+12
-25
lines changed

3 files changed

+12
-25
lines changed

packaging/rpm-oel/mysql.spec.in

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -609,14 +609,6 @@ rm -rf %{buildroot}%{_bindir}/mysql_embedded
609609
rm -rf %{buildroot}%{_bindir}/mysql_setpermission
610610
rm -rf %{buildroot}%{_mandir}/man1/mysql_setpermission.1*
611611

612-
# Remove obsoleted man pages
613-
rm -f %{buildroot}%{_mandir}/man1/mysql-stress-test.pl.1
614-
rm -f %{buildroot}%{_mandir}/man1/mysql-test-run.pl.1
615-
rm -f %{buildroot}%{_mandir}/man1/mysql_client_test.1
616-
rm -f %{buildroot}%{_mandir}/man1/mysql_client_test_embedded.1
617-
rm -f %{buildroot}%{_mandir}/man1/mysqltest.1
618-
rm -f %{buildroot}%{_mandir}/man1/mysqltest_embedded.1
619-
620612
%check
621613
%if 0%{?runselftest}
622614
pushd release
@@ -920,6 +912,9 @@ fi
920912
%endif
921913

922914
%changelog
915+
* Wed Jan 10 2018 Bjorn Munch <[email protected]> - 5.5.60-1
916+
- No longer need to remove obsoleted mysqltest man pages
917+
923918
* Tue Oct 31 2017 Bjorn Munch <[email protected]> - 5.5.59-1
924919
- Remove obsoleted mysqltest man pages
925920

packaging/rpm-sles/mysql.spec.in

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -446,14 +446,6 @@ rm -rf %{buildroot}%{_bindir}/mysql_embedded
446446
rm -rf %{buildroot}%{_bindir}/mysql_setpermission
447447
rm -rf %{buildroot}%{_mandir}/man1/mysql_setpermission.1*
448448

449-
# Remove obsoleted man pages
450-
rm -f %{buildroot}%{_mandir}/man1/mysql-stress-test.pl.1
451-
rm -f %{buildroot}%{_mandir}/man1/mysql-test-run.pl.1
452-
rm -f %{buildroot}%{_mandir}/man1/mysql_client_test.1
453-
rm -f %{buildroot}%{_mandir}/man1/mysql_client_test_embedded.1
454-
rm -f %{buildroot}%{_mandir}/man1/mysqltest.1
455-
rm -f %{buildroot}%{_mandir}/man1/mysqltest_embedded.1
456-
457449
# rcmysql symlink
458450
install -d %{buildroot}%{_sbindir}
459451
ln -sf %{_initrddir}/mysql %{buildroot}%{_sbindir}/rcmysql
@@ -742,6 +734,9 @@ fi
742734
%attr(755, root, root) %{_libdir}/mysql/libmysqld.so
743735

744736
%changelog
737+
* Wed Jan 10 2018 Bjorn Munch <[email protected]> - 5.5.60-1
738+
- No longer need to remove obsoleted mysqltest man pages
739+
745740
* Tue Oct 31 2017 Bjorn Munch <[email protected]> - 5.5.59-1
746741
- Remove obsoleted mysqltest man pages
747742

support-files/mysql.spec.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License as published by
@@ -621,12 +621,6 @@ install -m 644 "%{malloc_lib_source}" \
621621
# Remove man pages we explicitly do not want to package, avoids 'unpackaged
622622
# files' warning.
623623
# This has become obsolete: rm -f $RBR%{_mandir}/man1/make_win_bin_dist.1*
624-
rm -f $RBR%{_mandir}/man1/mysql-stress-test.pl.1
625-
rm -f $RBR%{_mandir}/man1/mysql-test-run.pl.1
626-
rm -f $RBR%{_mandir}/man1/mysql_client_test.1
627-
rm -f $RBR%{_mandir}/man1/mysql_client_test_embedded.1
628-
rm -f $RBR%{_mandir}/man1/mysqltest.1
629-
rm -f $RBR%{_mandir}/man1/mysqltest_embedded.1
630624

631625
##############################################################################
632626
# Post processing actions, i.e. when installed
@@ -1228,6 +1222,9 @@ echo "=====" >> $STATUS_HISTORY
12281222
# merging BK trees)
12291223
##############################################################################
12301224
%changelog
1225+
* Wed Jan 10 2018 Bjorn Munch <[email protected]>
1226+
- No longer need to remove obsoleted mysqltest man pages
1227+
12311228
* Tue Oct 31 2017 Bjorn Munch <[email protected]>
12321229
- Remove obsoleted mysqltest man pages
12331230

0 commit comments

Comments
 (0)