https://bugzilla.redhat.com/show_bug.cgi?id=1190056

Lubomir Rintel <lrin...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lrin...@redhat.com
              Flags|needinfo?(lkund...@v3.sk)   |



--- Comment #4 from Lubomir Rintel <lrin...@redhat.com> ---
(In reply to Rex Dieter from comment #1)
> scripotlets: NOT ok
> 
> 1. MUST fix icon ownership and add missing iconcache scriptlets
> change
> %{_kde4_iconsdir}/hicolor
> to
> %{_kde4_iconsdir}/hicolor/*/*/*
> 
> and add icon scriptlets per:
> https://fedoraproject.org/wiki/Packaging:ScriptletSnippets?rd=Packaging/
> ScriptletSnippets#Icon_Cache

Fixed.

> 2. main pkg MUST have tighter dependency on libs, replace
> Requires: %{name}-libs = %{version}
> with
> Requires: %{name}-libs%{?_isa} = %{version}-%{release}

Fixed.

> 3. -devel dependencies are wrong MUST fix, %{_isa} is in the wrong place.
> Requires:       kgraphviewer = %{version}-%{release}%{?isa}
> Requires:       %{name}-libs = %{version}-%{release}%{?isa}
> 
> I'd suggest:
> Requires: %{name}-libs%{?_isa} = %{version}-%{release}
> (and skip the dependency on the main pkg)

Whoops. Fixed.

> 4.  SHOULD improve kde-related dependencies, replace
> BuildRequires:  qt-devel
> BuildRequires:  kdelibs-devel
> Requires: kde-filesystem
> 
> with
> BuildRequires: kdelibs4-devel
> %{?kde_runtime_requires}
> (in main pkg)

Done.

> 5.  SHOULD build out-of-src tree, replace
> %cmake_kde4 .
> make %{?_smp_mflags}
> ...
> make install DESTDIR={%buildroot}
> 
> with (something like):
> %build
> mkdir %{_target_platform}
> pushd %{_target_platform}
> %{cmake_kde4} ..
> popd
> 
> make %{?_smp_mflags} -C %{_target_platform}
> ...
> make install/fast DESTDIR=%{buildroot} -C %{_target_platform}

Done.

> 6. SHOULD omit deprecated rpm tags, like:
> Group:

I like it there. I'll start removing those the day RPM starts to complain or
guidelines forbid it.

(In reply to Mario Blättermann from comment #2)
> The following issues from rpmlint should be investigated:
> 
> kgraphviewer.x86_64: W: incoherent-version-in-changelog 0.2.0-1
> ['2.2.0-1.fc21', '2.2.0-1']
> The latest entry in %changelog contains a version identifier that is not

Fixed.

> kgraphviewer.x86_64: E: invalid-appdata-file
> /usr/share/appdata/kgraphviewer.appdata.xml
> appdata file is not valid, check with appdata-validate
> 
> Indeed, there's something to fix:
> 
> $ appdata-validate *a.xml
> kgraphviewer.appdata.xml 3 problems detected:
> • tag-missing           : <updatecontact> is not present
> • style-invalid         : Not enough <p> content before <ul>
> • style-invalid         : <li> is too short
> 
> The second and third issues are bogus and not relevant for a really valid
> appdata file, but <updatecontact> should be added. Try to figure out who has
> written the appdata file and contact him to add his mail address here.

I notified upstream.

I'm not patching it in package as the relaxed check in %install passes just
fine.

SPEC: http://v3.sk/~lkundrak/SPECS/kgraphviewer.spec
SRPM: http://v3.sk/~lkundrak/SRPMS/kgraphviewer-2.2.0-2.fc22.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to