[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Thu Nov 10 12:19:33 UTC 2011


 Makefile.am    |   10 +++++++++-
 cfg.mk         |   14 ++++----------
 gnulib         |    2 +-
 tests/init.cfg |    2 +-
 4 files changed, 15 insertions(+), 13 deletions(-)

New commits:
commit 41dc96361e58a73f61e1c8bf707a494aafd99d70
Author: Jim Meyering <meyering at redhat.com>
Date:   Thu Nov 10 12:14:08 2011 +0100

    tests: fix test for udevadm
    
    * tests/init.cfg (sector_size_): Fix syntax error in test invocation.

diff --git a/tests/init.cfg b/tests/init.cfg
index ca4dffc..c5fbb5e 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -27,7 +27,7 @@ require_512_byte_sector_size_()
 
 require_udevadm_settle_()
 {
-  udevadm settle --help \
+  udevadm --help > /dev/null \
     || skip_ 'udevadm command is required for this test'
 }
 

commit 58dd552fa63b38a4060f7e5001eef666def6d365
Author: Jim Meyering <meyering at redhat.com>
Date:   Thu Nov 10 12:11:24 2011 +0100

    maint: "make distcheck" now runs the root-only tests
    
    * Makefile.am (root-check): New overridable variable and rule.
    (distcheck-hook): Depend on it.

diff --git a/Makefile.am b/Makefile.am
index 3a69832..39c1d01 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,7 +28,15 @@ parted.spec: parted.spec.in
 	mv $@-tmp $@
 MAINTAINERCLEANFILES = parted.spec
 
-distcheck-hook:
+.PHONY: root-check
+root-check:
+	sudo $(MAKE) check
+
+# Not everyone who runs "make distcheck" will want to or even
+# be able to run the root tests.  If you want to skip them,
+# run make like this: "make distcheck root-check="
+root-check ?= root-check
+distcheck-hook: $(root-check)
 	$(MAKE) my-distcheck
 
 ### ABI Checking scripts ###

commit 794913270ef50380cbf1426412428c5fe38e8a02
Author: Jim Meyering <meyering at redhat.com>
Date:   Thu Nov 10 11:55:23 2011 +0100

    build: update gnulib submodule to latest

diff --git a/gnulib b/gnulib
index dc57f70..44e24aa 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit dc57f70a80411608fee719971cc758a00a8eab63
+Subproject commit 44e24aa42fb9e808f25767f5ce555d6844efc1c8

commit 3a91f85ac52dd14131facf18435295d669b062c5
Author: Jim Meyering <meyering at redhat.com>
Date:   Thu Nov 10 11:54:50 2011 +0100

    maint: adjust the URL that will appear in the generated announcement
    
    * cfg.mk (url_dir_list): Use this http://ftp.gnu.org/gnu/$(PACKAGE)
    for the first link listed in the generated announcement.
    announce-gen now provides the faster mirror link automatically.
    Remove now-unnecessary release-related URLs.

diff --git a/cfg.mk b/cfg.mk
index f49a57e..744cf23 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -14,19 +14,13 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Use alpha.gnu.org for alpha and beta releases.
-# Use ftp.gnu.org for stable releases.
-gnu_ftp_host-alpha = alpha.gnu.org
-gnu_ftp_host-beta = alpha.gnu.org
-gnu_ftp_host-stable = ftp.gnu.org
-gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))
-
-url_dir_list = \
-  ftp://$(gnu_rel_host)/gnu/parted
-
 # Used in maint.mk's web-manual rule
 manual_title = Parted User's Manual
 
+# Use the direct link.  This is guaranteed to work immediately, while
+# it can take a while for the faster mirror links to become usable.
+url_dir_list = http://ftp.gnu.org/gnu/$(PACKAGE)
+
 # Tests not to run as part of "make distcheck".
 # Exclude changelog-check here so that there's less churn in ChangeLog
 # files -- otherwise, you'd need to have the upcoming version number



More information about the Parted-commits mailing list