Opened 11 years ago

Closed 11 years ago

#3762 closed Bug (fixed)

errors in rpm spec file

Reported by: knnniggett Owned by: charles
Priority: Normal Milestone: 2.13
Component: Transmission Version: 2.12
Severity: Minor Keywords: specfile
Cc:

Description

Transmission 2.12 running on CentOS 5.5 x86_64

When building the gtk client, rpmbuild complains:

+ /usr/lib/rpm/redhat/find-lang.sh /var/tmp/transmission-2.12-1-buildroot transmission
No translations found for transmission in /var/tmp/transmission-2.12-1-buildroot
error: Bad exit status from /var/tmp/rpm-tmp.84434 (%install)

And after fixing the first problem (see below), rpmbuild complains again:

error: File not found: /var/tmp/transmission-2.12-1-buildroot/usr/share/applications/transmission.desktop
...
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/transmission-2.12-1-buildroot
error: Installed (but unpackaged) file(s) found:
   /usr/share/applications/transmission-gtk.desktop

Changing this line corrects the first:

%find_lang %{name}

to:

%find_lang %{name}-gtk

The second error can be fixed by changing the following:

%{_datadir}/applications/%{name}.desktop

to:

%{_datadir}/applications/%{name}-gtk.desktop

NOTE: This "fix" may not work for all systems (e.g. transmission-qt).

Change History (2)

comment:1 Changed 11 years ago by charles

  • Milestone changed from None Set to 2.13
  • Owner set to charles
  • Severity changed from Normal to Minor
  • Status changed from new to assigned

comment:2 Changed 11 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

comitted to r11432.

Note: See TracTickets for help on using tickets.