mlichvar pushed to urlview (master). "update to 20131022git08767a"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 22 09:17:01 UTC 2015


>From d2f4ac2fa9f8f014203ca34dd868ec78f757da56 Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar <mlichvar at redhat.com>
Date: Wed, 22 Apr 2015 11:10:13 +0200
Subject: update to 20131022git08767a


diff --git a/.gitignore b/.gitignore
index 3e49565..30b4232 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/urlview-20121210git6cfcad.tar.xz
+/urlview-08767a.tar.gz
diff --git a/sources b/sources
index 1b3da6d..3b24dc5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-641e290fee364c4c9e63cad4966f5f46  urlview-20121210git6cfcad.tar.xz
+5a88be952d8e4c835396926da9b22c3d  urlview-08767a.tar.gz
diff --git a/urlview-default.patch b/urlview-default.patch
index 48d74b6..e2e7707 100644
--- a/urlview-default.patch
+++ b/urlview-default.patch
@@ -1,6 +1,6 @@
 diff -up urlview/url_handler.sh.default urlview/url_handler.sh
---- urlview/url_handler.sh.default	2012-12-10 16:27:10.000000000 +0100
-+++ urlview/url_handler.sh	2013-05-24 18:05:13.899859933 +0200
+--- urlview/url_handler.sh.default	2013-10-23 05:08:01.000000000 +0200
++++ urlview/url_handler.sh	2015-04-22 11:04:42.247546697 +0200
 @@ -28,15 +28,15 @@
  # VT: Launch in the same terminal
  
@@ -34,8 +34,8 @@ diff -up urlview/url_handler.sh.default urlview/url_handler.sh
      ;;
  esac
 diff -up urlview/urlview.c.default urlview/urlview.c
---- urlview/urlview.c.default	2012-12-10 16:27:10.000000000 +0100
-+++ urlview/urlview.c	2013-05-24 18:05:13.900859934 +0200
+--- urlview/urlview.c.default	2013-10-23 05:08:01.000000000 +0200
++++ urlview/urlview.c	2015-04-22 11:04:42.248546700 +0200
 @@ -50,8 +50,8 @@
  #include "quote.h"
  
@@ -48,8 +48,8 @@ diff -up urlview/urlview.c.default urlview/urlview.c
  #define OFFSET 2
  #define PAGELEN (LINES - 1 - OFFSET)
 diff -up urlview/urlview.conf.suse.default urlview/urlview.conf.suse
---- urlview/urlview.conf.suse.default	2012-12-10 16:27:10.000000000 +0100
-+++ urlview/urlview.conf.suse	2013-05-24 18:05:13.900859934 +0200
+--- urlview/urlview.conf.suse.default	2013-10-23 05:08:01.000000000 +0200
++++ urlview/urlview.conf.suse	2015-04-22 11:04:42.248546700 +0200
 @@ -4,6 +4,6 @@
  #
  # The defaults are shown here:
@@ -60,8 +60,8 @@ diff -up urlview/urlview.conf.suse.default urlview/urlview.conf.suse
 +# COMMAND /usr/bin/url_handler.sh %s
  #
 diff -up urlview/urlview.man.default urlview/urlview.man
---- urlview/urlview.man.default	2012-12-10 16:27:10.000000000 +0100
-+++ urlview/urlview.man	2013-05-24 18:12:00.551452060 +0200
+--- urlview/urlview.man.default	2013-10-23 05:08:01.000000000 +0200
++++ urlview/urlview.man	2015-04-22 11:05:51.930740825 +0200
 @@ -35,7 +35,7 @@ attempts to read
  upon startup.  If this file
  doesn't exist, it will try to read a system wide file 
@@ -80,8 +80,8 @@ diff -up urlview/urlview.man.default urlview/urlview.man
  .PP
  .B Note:
  You should 
-@@ -81,7 +81,7 @@ Enable or disable URL wrapping. Valid va
- If this option is not supplied, the default behaviour is to disable wrapping.
+@@ -84,7 +84,7 @@ QUITONLAUNCH
+ Will cause urlview to quit after you launch a URL.
  .SH FILES
  .PP
 -.IP "/etc/urlview/system.urlview"
diff --git a/urlview.spec b/urlview.spec
index 4b43611..c2cf499 100644
--- a/urlview.spec
+++ b/urlview.spec
@@ -1,5 +1,6 @@
-%global gitdate 20121210
-%global gitrev 6cfcad
+%global gitdate 20131022
+%global gitfullrev 08767aa863cd27d1755ba0aff65b8cc1a0c1446a
+%global gitrev %(c=%{gitfullrev}; echo ${c:0:6})
 Name:           urlview
 Version:        0.9
 Release:        16.%{gitdate}git%{gitrev}%{?dist}
@@ -8,9 +9,7 @@ Summary:        URL extractor/launcher
 Group:          Applications/Internet
 License:        GPLv2+
 URL:            https://github.com/sigpipe/urlview
-# git clone git://github.com/sigpipe/urlview.git; cd urlview
-# git archive --prefix=urlview/ %{gitrev} | xz > urlview-%{gitdate}git%{gitrev}.tar.xz
-Source0:        %{name}-%{gitdate}git%{gitrev}.tar.xz
+Source0:        https://github.com/sigpipe/urlview/archive/%{gitrev}/urlview-%{gitrev}.tar.gz
 
 BuildRequires:  ncurses-devel
 
@@ -25,7 +24,7 @@ files and displaying a menu from which you may launch a command to
 view a specific item.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{gitfullrev}
 %patch1 -p1 -b .default
 
 %build
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/urlview.git/commit/?h=master&id=d2f4ac2fa9f8f014203ca34dd868ec78f757da56


More information about the scm-commits mailing list