MGandra@diskeeper.com wrote:
>
> HI
>
> I want to create an rpm package and all I have is the files. I don’t
> have the source code. How do I modify the spec file to only include
> the files. Do I have to modify the %files macro to include the files
> from different folders.
>
> Any help would be appreciated.
>
> Thanks
>
> *Madhukar Gandra**
> */Product Assembly In Charge/
>
> *Diskeeper Corporation
> *7590 N. Glenoaks Blvd.
> Burbank, CA 91504
>
> 818-771-1600 x1434
> Mgandra@diskeeper.com
> <mailto:Mgandra@diskeeper.com>*
> Innovators in Performance and Reliability Technologies^® *
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4959 (20100319) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
> ------------------------------------------------------------------------
>
> --
> packaging mailing list
> packaging@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
If it's for inclusion in Fedora, you don't.
If it's not, you put the files in the buildroot in %install.
If you want /usr/bin, for example, you do something like
%install
install -m 755 foo %{buildroot}%{_bindir}/foo
%files
<snip>
%{_bindir}/foo
-J
--
in your fear, seek only peace
in your fear, seek only love
-d. bowie
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging