https://bugzilla.redhat.com/show_bug.cgi?id=828891 --- Comment #1 from Alexey I. Froloff <raorn@xxxxxxxxxx> --- New release available. Spec URL: http://raorn.fedorapeople.org/packages/wmnd/wmnd.spec SRPM URL: http://raorn.fedorapeople.org/packages/wmnd/wmnd-0.4.16-2.fc17.src.rpm rpmlint complains about unapplied patches because I use git-based scheme stolen from xorg-x11-server.spec specfile diff: diff --git a/wmnd.spec b/wmnd.spec index 425d22e..8e54af9 100644 --- a/wmnd.spec +++ b/wmnd.spec @@ -1,6 +1,6 @@ Name: wmnd Version: 0.4.16 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Dockapp for monitoring network interfaces Group: User Interface/X @@ -8,9 +8,17 @@ License: GPLv2+ URL: http://www.thregr.org/~wavexx/software/wmnd/ Source: %{url}/releases/%{name}-%{version}.tar.gz -Patch: %{name}-0.4.16-fsf-address.patch +# git clone git://src.thregr.org/wmnd +# pushd wmnd +# git format-patch %{name}-%{version} +# for p in 00*; do mv "$p" "../%{name}-%{version}-$p"; done +# popd +Patch1: %{name}-0.4.16-0001-Reformat-documentation.patch +Patch2: %{name}-0.4.16-0002-Update-configure.ac-for-the-latest-autoconf.patch +Patch3: %{name}-0.4.16-0003-Doc-fixes-follow-the-suggestions-form-Alexey-I.-Frol.patch +Patch4: %{name}-0.4.16-0004-Fix-the-installation-path-of-wmndrc.patch -BuildRequires: autoconf automake libXext-devel libXpm-devel +BuildRequires: autoconf automake git libXext-devel libXpm-devel %description WMND is a dockapp for monitoring network interfaces under WindowMaker @@ -22,30 +30,35 @@ display modes and can also monitor remote interfaces through SNMP. %prep %setup -q -%patch -p1 +git init +if [ -z "$GIT_COMMITTER_NAME" ]; then + git config user.email "raorn@xxxxxxxxxx" + git config user.name "Alexey I. Froloff" +fi +git add -f . +git commit -a -q -m "%{version} baseline." -for f in NEWS; do - mv "$f" "$f.save" - iconv -f LATIN1 -t UTF-8 < "$f.save" > "$f" - touch -r "$f.save" "$f" - rm "$f.save" -done +# Apply all the patches. +git am -p1 %{patches} < /dev/null %build autoreconf -fis %configure \ + --docdir=%{_docdir}/%{name}-%{version} \ --enable-drivers=linux_proc make %{?_smp_mflags} %install -%{make_install} data_DATA= +%{make_install} %files -%doc AUTHORS COPYING NEWS README THANKS TODO examples +%doc AUTHORS COPYING NEWS README THANKS TODO %{_bindir}/wmnd %{_mandir}/man1/wmnd.1* %changelog +* Wed Jun 06 2012 Alexey I. Froloff <raorn@xxxxxxxxxx> - 0.4.16-2 +- Updated to wmnd-0.4.16-4-gc96f86d + * Tue Jun 05 2012 Alexey I. Froloff <raorn@xxxxxxxxxx> - 0.4.16-1 - Initial build for Fedora - -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review