[vttest/f20] Update to 20140116

Christopher Meng cicku at fedoraproject.org
Mon Jan 20 02:18:41 UTC 2014


commit e8563be9eb4cfe9d15051e03a9a9c42b82cd4b90
Author: Christopher Meng <i at cicku.me>
Date:   Mon Jan 20 10:18:19 2014 +0800

    Update to 20140116

 .gitignore  |    1 +
 sources     |    2 +-
 vttest.spec |   35 +++++++++++------------------------
 3 files changed, 13 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 287e6e2..31f0623 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ vttest-20071216.tgz
 /vttest-20100830.tgz
 /vttest-20110705.tgz
 /vttest-20111210.tgz
+/vttest-20140116.tgz
diff --git a/sources b/sources
index 5e569b7..271d982 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0c8b51b1dabdab6f9fc1cbdde4764d7b  vttest-20111210.tgz
+83511016268fc398a18cd35fb0ab2c4d  vttest-20140116.tgz
diff --git a/vttest.spec b/vttest.spec
index 8e4c3a5..2beea7e 100644
--- a/vttest.spec
+++ b/vttest.spec
@@ -1,55 +1,42 @@
 Name:           vttest
-Version:        20111210
-Release:        6%{?dist}
+Version:        20140116
+Release:        1%{?dist}
 Summary:        Test the compatibility of so-called "VT100-compatible" terminals
-
-Group:          Applications/System
 License:        MIT
 URL:            http://invisible-island.net/vttest/vttest.html
 Source0:        ftp://invisible-island.net/vttest/vttest-%{version}.tgz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  readline-devel
 
-# config.{sub,guess} from automake-1.13
-Patch0: vttest-20111210-config.diff
-
 %description
 vttest is a program to test the compatibility (or to demonstrate the
 non-compatibility) of so-called "VT100-compatible" terminals. 
 
 %prep
 %setup -q
-%patch0 -p1
-
-#fix character encoding
+# This file contains the original author's clarification.
+# fix character encoding
 for f in README; do
         iconv -f ISO-8859-15 -t UTF-8 $f > ${f}.tmp && \
                 mv -f ${f}.tmp ${f} || \
                 rm -f ${f}.tmp
 done
 
-
 %build
 %configure
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+make install DESTDIR=%{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc BUGS CHANGES COPYING MANIFEST README
-%{_bindir}/*
-%{_mandir}/man?/*
+%{_bindir}/vttest
+%{_mandir}/man1/vttest.1*
 
 %changelog
+* Mon Jan 20 2014 Christopher Meng <rpm at cicku.me> - 20140116-1
+- Update to 20140116
+
 * Mon Aug 19 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 20111210-6
 - Don't run the autotools (Sources are incompatible w/ modern autotools)
   (FTBFS, RHBZ#992865)
@@ -93,4 +80,4 @@ rm -rf $RPM_BUILD_ROOT
 - License changed to MIT
 
 * Mon Aug 04 2008 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 20071216-1
-- Initial build
+- Initial build
\ No newline at end of file


More information about the scm-commits mailing list