public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-XML-Parser] f45: Fix samples/ dir in tests subpackage
@ 2026-11-30 15:50 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-30 15:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-XML-Parser
Branch : f45
Commit : 501941e8fef7543213a79281a6ac46569e9d5e59
Author : Michal Josef Špaček <mspacek@redhat.com>
Date   : 2026-11-30T16:09:10+01:00
Stats  : +4/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-XML-Parser/c/501941e8fef7543213a79281a6ac46569e9d5e59?branch=f45

Log:
Fix samples/ dir in tests subpackage

---
diff --git a/perl-XML-Parser.spec b/perl-XML-Parser.spec
index 5d1b745..59fe181 100644
--- a/perl-XML-Parser.spec
+++ b/perl-XML-Parser.spec
@@ -106,7 +106,9 @@ done
 
 # Install tests
 mkdir -p %{buildroot}%{_libexecdir}/%{name}
-cp -a t samples %{buildroot}%{_libexecdir}/%{name}
+mkdir -p %{buildroot}%{_libexecdir}/%{name}/samples
+cp -a t %{buildroot}%{_libexecdir}/%{name}
+cp -a samples/REC-xml-19980210.xml %{buildroot}%{_libexecdir}/%{name}/samples/
 cp -a inc %{buildroot}%{_libexecdir}/%{name}
 cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
 #!/bin/bash
@@ -143,6 +145,7 @@ make test
 %changelog
 * Mon Nov 30 2026 Michal Josef Špaček <mspacek@redhat.com> - 2.61-1
 - 2.61 bump
+- Fix samples/ dir in tests subpackage
 - Move tests subpackage to noarch
 
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 2.59-4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 15:50 [rpms/perl-XML-Parser] f45: Fix samples/ dir in tests subpackage 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox