[rhn-users] rpmbuild and patch that includes new files
Ken Dyke
kdyke at keycomputerconsultants.com
Sat Apr 22 17:13:22 UTC 2006
Hi,
I am creating an rpm for an upstream package and want to include some
example conf files that are not in the orginal source tarball. I did a
diff -Nur <tree.orig> <tree> > conf_file.patch
Then in the spec file:
%patch0 -p1 -b conf_file.patch
works but creates empty files
file1.conf.conf_file.patch
file2.conf.conf_file.patch
How do I suppress these empty files?
--
Ken Dyke,
406.581.0495
I was using Free Open Source Software (FOSS) in 1969, but we did not call it
that at the time. We called it "software".
-- Jon "Maddog" Hall
More information about the rhn-users
mailing list