Mailinglist Archive: opensuse-packaging (249 mails)

< Previous Next >
[opensuse-packaging] Re: Question about chmod (SOLVED)
  • From: Malcolm <malcolm_lewis@xxxxxxxxxxxxx>
  • Date: Sun, 14 Nov 2010 13:44:27 -0600
  • Message-id: <20101114134427.54fd3595@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Sun, 14 Nov 2010 20:21:01 +0100
"Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx> wrote:

Am Sonntag, 14. November 2010 19:50:57 wrote Malcolm:
On Sun, 14 Nov 2010 19:41:32 +0100

"Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx> wrote:
Am Sonntag, 14. November 2010 19:05:24 wrote Malcolm:
On Sun, 14 Nov 2010 18:46:45 +0100

"Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx> wrote:
Hello Guido, hello list,

Am Sonntag, 14. November 2010 17:47:03 wrote Guido
Berhoerster:
* Sascha 'saigkill' Manns <samannsml@xxxxxxxxxxxxx>
[2010-11-14

[...]

You can simply replace all of the above with

%__install -D -p -m 755 program/%{name}
%{buildroot}%{_bindir}/%{name}

Thanks for answering. I've tried it out, but the Package
installs only a File without execution permissions in
/usr/bin. Maybe i have anything misconfigured.

If you like to see the buildlog, you can see it in:
home:saigkill/whohas.

Have a nice evening...

Hi
Just set the attribute in the %files section...

%attr(0755,root,root) %{_bindir}/%{name}

Great thats works. Thank you very much for helping :-)

Looks like some patching of the perl script (you might want to
change the comment in your spec file from binary ;) ) to get it
working with openSUSE, it's still set to 11.2 and the search method
has changed...
Just now done :-)
Hi
Still not enough ;)

For example;
whohas medit |grep "medit" | sort

I get;
Tried fetching
"http://software.opensuse.org/search/search/?q=medit&baseproject=openSUSE:11.3";
five times. Giving up.

The search is;
http://software.opensuse.org/search?q=medit&baseproject=openSUSE%3A11.3&lang=en

Hmmmm...

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
up 2 days 3:44, 3 users, load average: 0.02, 0.05, 0.08
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.21


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >