summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/re2c.manifest5
-rw-r--r--packaging/re2c.spec3
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/re2c.manifest b/packaging/re2c.manifest
new file mode 100644
index 00000000..017d22d3
--- /dev/null
+++ b/packaging/re2c.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/re2c.spec b/packaging/re2c.spec
index 89106e47..c43d89a9 100644
--- a/packaging/re2c.spec
+++ b/packaging/re2c.spec
@@ -6,6 +6,7 @@ Summary: Tool for generating C-based recognizers from regular expressions
Url: http://re2c.org/
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.bz2
+Source1001: re2c.manifest
BuildRequires: gcc-c++
%description
@@ -17,6 +18,7 @@ terms of size and speed.
%prep
%setup -q
+cp %{SOURCE1001} .
find -type d -name .svn -print0 | xargs -r0 rm -rf
find CHANGELOG lessons examples -type f -print0 \
| xargs -r0 chmod -v a-x
@@ -37,6 +39,7 @@ make test
%make_install
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_bindir}/re2c
%{_mandir}/man1/re2c.1*