summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-15 09:40:15 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-15 09:40:15 +0100
commit6e877571bc2dd50e38f2f35675c401d74dbe233d (patch)
tree3687286269bda4e8c86bf779d4cc67ae98a70d68 /ftparchive
parentda4f6c5b71eee9eee67225d2c4b396d47f44620d (diff)
Run unifdef -DAPT_PKG_ABI=700 again
main picked up a couple new ifdefs since the branch started; so clean them up again.
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/writer.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index 78852e772..a0319caf4 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -822,11 +822,7 @@ bool SourcesWriter::DoPackage(string FileName)
std::vector<pkgTagSection::Tag> Changes;
Changes.push_back(pkgTagSection::Tag::Remove("Source"));
-#if APT_PKG_ABI > 600
Changes.push_back(pkgTagSection::Tag::Rewrite("Package", Package));
-#else
- Changes.push_back(pkgTagSection::Tag::Rewrite("Package", std::string{Package}));
-#endif
if (Files.empty() == false)
Changes.push_back(pkgTagSection::Tag::Rewrite("Files", Files));
else