Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 15 Feb 2012 22:38:39 +0400
From: gremlin@...mlin.ru
To: owl-dev@...ts.openwall.com
Subject: Re: /etc/os-release

On 15-Feb-2012 22:30:50 +0400, Dmitry V. Levin wrote:

 > > %build
 > > cat > %{name} << __OS_RELEASE_EOF__
 > > NAME="Openwall GNU/*/Linux"
 > > VERSION="%{version}"
 > > ID="owl"
 > > VERSION_ID="%{version}"
 > > PRETTY_NAME="Openwall GNU/*/Linux %{version}"
 > > __OS_RELEASE_EOF__
 > > 
 > > %install
 > > rm -rf %{buildroot}
 > > mkdir -m 755 -p %{buildroot}%{_sysconfdir}
 > > install -m 644 %{name} %{buildroot}%{_sysconfdir}/%{name}
 > > rm -f %{name}
 > There is a way to create the file right at the destination,
 > so why bother with a %build section at all? ;)

`rpm -qp ${package_file}`


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://subkeys.pgp.net
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.