rpms/cksfv/F-8 cksfv-1.3.12-rpmlint.patch, NONE, 1.1 cksfv.spec, 1.18, 1.19
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Sat Oct 27 22:28:34 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/cksfv/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17909/F-8
Modified Files:
cksfv.spec
Added Files:
cksfv-1.3.12-rpmlint.patch
Log Message:
fix rpmlint issues
cksfv-1.3.12-rpmlint.patch:
--- NEW FILE cksfv-1.3.12-rpmlint.patch ---
--- Makefile.in~ 2007-10-27 15:20:48.000000000 -0700
+++ Makefile.in 2007-10-27 15:21:12.000000000 -0700
@@ -25,7 +25,7 @@
install: all
mkdir -p "$(BINDIR)" "$(MANDIR)/man1/"
install src/cksfv "$(BINDIR)"
- install cksfv.1 "$(MANDIR)/man1/"
+ install -m 644 cksfv.1 "$(MANDIR)/man1/"
clean:
rm -f *.o *~ *.core core
Index: cksfv.spec
===================================================================
RCS file: /cvs/extras/rpms/cksfv/F-8/cksfv.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- cksfv.spec 8 Sep 2007 18:07:20 -0000 1.18
+++ cksfv.spec 27 Oct 2007 22:28:01 -0000 1.19
@@ -1,12 +1,13 @@
Name: cksfv
Version: 1.3.12
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Utility to manipulate SFV files
Group: Applications/File
-License: GPL
+License: GPLv2
URL: http://zakalwe.fi/~shd/foss/cksfv
Source0: http://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.gz
+Patch0: %{name}-1.3.12-rpmlint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
@@ -14,8 +15,14 @@
Verification) files are used to verify file integrity using CRC32
checksums.
+
%prep
%setup -q
+%patch0 -p0 -b .rpmlint~
+
+# fix rpmlint warnings
+iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
+
%build
# custom configure does not take --libdir spec
@@ -26,23 +33,31 @@
--package-prefix=$RPM_BUILD_ROOT
make %{?_smp_mflags}
+
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
+
%check
make check
+
%clean
rm -rf $RPM_BUILD_ROOT
+
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
+
%changelog
+* Sat Oct 27 2007 Christohper Stone <chris.stone at gmail.com> 1.3.12-2
+- Fix rpmlint issues
+
* Sat Sep 08 2007 Christopher Stone <chris.stone at gmail.com> 1.3.12-1
- Upstream sync
More information about the fedora-extras-commits
mailing list