Skip to content

Homepage of Timotheus Pokorra

Menu

  • Home
  • Blog
  • Frühere und aktuelle Projekte

Use patched files in RPMs

see Packaging software with RPM

diff -uNr the_package/the_file \
the_package/the_file.new > the_file.patch

copy the patch file to /usr/src/redhat/SOURCES

The spec file has those lines:

After Sources:
Patch0: the_file.patch

After %setup, before %build

%patch -p1

To get your new version from the original file:
patch slapd.conf.template \
../../slapd.conf.template.patch \
-o slapd.conf.template.new

Use patched files in RPMs
Tagged on: linux    packaging    rpm
Timotheus November 17, 2007July 26, 2013 Software Development
  • ← Package a Perl module
  • Installing Java Stored Procedures on PostgreSQL 8.0 (Win) →

RSS Timotheus Pokorra (@tpokorra@hostsharing.coop)

  • tpokorra: “Wie geht es weiter mit CentOS?…” March 2, 2021
  • tpokorra: “Crowdfunding: Umsatzsteuer-Vor…” February 22, 2021
  • tpokorra: “#Kimai ist eine kostenlose Zei…” January 15, 2021
  • tpokorra: “Neue Version 2020.12 von #Open…” January 11, 2021
  • tpokorra: “Ich sollte letztens einen #Med…” December 23, 2020

Tags

.net AL Coding ASP.Net Bash c# CentOS database discourse docker DynamicsNAV2018 Epel7 Fedora flarum Hostsharing i18n jiffybox Knowledge Tree Kolab Kolab-Updates konto_check LBS LightBuildServer linux LXC MediaWiki Mono MonoDevelop OBS OpenPetra OpenPetra.Now open source Open Source on Windows packaging perl PHP phpBB projects Python Roundcube rpm SEPA symfony Tbits.net windows x2go

Seiten

  • About my name
  • Über meine Zeit bei OM
  • Blog
  • Frühere und aktuelle Projekte
  • Laufergebnisse
  • Links
Copyright © 2021 Homepage of Timotheus Pokorra All rights reserved.Theme: Spacious Pro by ThemeGrill. Powered by: WordPress