summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/ed.manifest5
-rw-r--r--packaging/ed.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/ed.manifest b/packaging/ed.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/ed.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/ed.spec b/packaging/ed.spec
index da47a89..481d259 100644
--- a/packaging/ed.spec
+++ b/packaging/ed.spec
@@ -6,6 +6,7 @@ Summary: Standard UNIX Line Editor
Url: http://www.gnu.org/software/ed/
Group: Productivity/Editors/Other
Source: %{name}-%{version}.tar.gz
+Source1001: ed.manifest
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -13,6 +14,7 @@ The standard, old Unix line editor.
%prep
%setup -q
+cp %{SOURCE1001} .
sed -i \
-e "s/CFLAGS='.*/CFLAGS='%{optflags}'/" \
-e "s/CXXFLAGS='.*/CXXFLAGS='%{optflags}'/" \
@@ -29,6 +31,7 @@ make check
%{makeinstall}
%files
+%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
%{_bindir}/%{name}